When coding your Discord bot, it is advised to enable the developer mode in Discord in order to easily get the id of the users, channels, chats, permissions... You will save precious time by doing so!
Enabling the Discord developer mode
To enable the developer mode:
- Go in the
User Parameters
, in the Discord application. - On the left panel, click on the
Appearance
. - In
Advanced
, enable theDeveloper Mode
option.
Get back to the main interface, right-click on a user or a channel for example and you should be able to access the Copy ID
option: