
.png)
superman#1234), otherwise permissions will fail to resolve correctly. Note that with the Discord backend, Bot Admin names should be JUST the username, i.e.
Discord developer portal how to#
The following example script shows how to create a new Discord backend using the values create above. If desired, you can disable Developer Mode now.Paste the Server ID on your text editor for later.Open your Discord server, right-click on the server name, then select Copy ID.Go to Appearance and enable Developer Mode under the Advanced section, then close User Settings.In Discord, open your User Settings by clicking the Settings Cog next to your user name on the bottom.Follow these steps to find your Server ID:
Discord developer portal full#
You will need the full Server ID (not the name) to continue. The channel will say a bot has joined the room, and you’ll see it on the right side menu under the list of members. You’ll know it worked if you open Discord in an app or in your browser and navigate to your server. That’ll take you to a website where you can tell Discord where to send your bot.Your URL should look something like this, but with your client ID and permissions integer in place of the ones added below:.In a new browser tab, go to the below link, replacing CLIENTID with the Client ID copied from the General Information page and PERMISSIONINTEGER with the Permission Integer copied in the last step:.Once you have your permissions selected, copy the Permissions Integer listed and paste it on your text editor for later.PoshBot will need at least the following permissions to run in Discord:.If you are testing, you can select Administrator ( 8).The bottom Bot Permissions section is where we can calculate the appropriate permissions integer to use when authorizing your Bot to your server shortly.
Discord developer portal code#

Copy the Client ID listed on this page to your text editor for laterĥ. You will be placed on the General Information page for your application. Provide a memorable name for your bot when prompted, then click the purple Create button on the bottom-right:Ĥ.
