Skip to content

Setting Up a Discord Bot

_Axieum edited this page Nov 20, 2019 · 2 revisions

Creating a Discord Bot

  1. Head over to the Discord Developer Portal
  2. Locate the Applications tab, hence create a "New Application".
  3. Within your new application, locate the Bot tab, hence "Add Bot"

Inviting a Bot to your Guild

For MDC to interact with your Discord Guild, you will need to invite your Discord Bot (see creating a bot) and set its permissions appropriately.

  1. Locate your application's "Client ID" and copy it
  2. Determine the Bot permissions for your Guild - see recommended permissions
  3. Visit the following URL - https://discordapp.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&scope=bot&permissions=YOUR_PERMISSION_INTEGER

Recommended Permissions

Permission Integer: 84992

General Permissions Text Permissions
View Channels Send Messages
Embed Links
Read Message History

Obtaining a Bot Token

Within the MDC configuration file, you will need to copy and paste your Bot's token into the general.bot.token field - head into your application's bot tab, and use the token there.

Clone this wiki locally