Answer the question
In order to leave comments, you need to log in
How to get a discord server ID?
Hello, I'm making a discord chat manager bot on [email protected], I need to get the server id and save it in json, I don't know how to do it, help, newbie :)
Answer the question
In order to leave comments, you need to log in
If you need a specific server, then you can get the ID manually. To do this, you need to:
1) Go to the Discord application settings
2) Select the "Advanced" section
3) Enable "Developer Mode"
Next, go to the server and right-click on its name. A "Copy ID" button should appear at the very bottom. In addition, now you can copy the ID of any chats and users.
If you are a server administrator, you can do the same with roles.
PS Software, so software, okay...
var server = message.guild.id;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question