Skip to content
mickie456 edited this page Dec 25, 2018 · 1 revision

This short guide describes how to get a token and channel ID for Discord in a few steps.

Create an application in Discord's system

Go to their Developer site and create an application.
If you aren't logged in, it will send you to the login page.
Simply press on the "New Application" button.
Screenshot

Give the application a name, this should be the name you want your bot on Discord to have.
Screenshot

Create the actual Discord bot user by clicking on "Create a Bot User".
Screenshot

You can now click on the link beside Token under Bot User to see your bot token.
Screenshot

Add your new Discord bot user to your Discord server/guild

On the application page, you can see a "Client/Application ID".
Replace CLIENT_ID in the following URL and go to the page.
https://discordapp.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot&permissions=3072

Screenshot

Get the channel ID of the Discord text channel

On Discord, open your User Settings -> Appearance -> Enable Developer Mode.
Screenshot

Rightclick on the Discord text channel you want the bot to interact with and press "Copy ID".
Screenshot

Insert the token into the ChikachiDiscord config on the Minecraft server

If you don't have the config file, start the server with the mod installed, and it will generate a default config file.
Insert the bot token and channel ID in to the config.

Snippet example of config file

    "token": "MTg0NTgwMDM3MTA4OTU3MTg0.CiWfDg.BjBlg3mIUb26HPkEu7aJG5uB6CY",
    "channel":  "176713290007838720",