Open the config file (located at config/shadowfacts/DiscordChat/DiscordChat.conf).

In the config file, set the discordchat.discord.token property to the value from the Token field in the App Bot User section of the Discord application page.

Go to https://discordapp.com/oauth2/authorize?client_id=INSERT_CLIENT_ID_HERE&scope=bot&permissions=0 and replace INSERT_CLIENT_ID_HERE with the value of the Client/Application ID field under App Details on the Discord application page.

Select the correct server to join.

Click “Authorize”.

In the config file, enter the channel for the bot to join in the discordchat.discord.channel property. These should be all lowercase and not include the leading # sign.

In the Discord client, go to the server you want to use.

Click the hamburger (3 stacked horizontal lines) style button next to the server name to view the the dropdown.

Click “Server Settings” option from the dropdown.

Go to the “Widget” section of the Server Settings panel.

Set the discordchat.discord.server property in the config file to the value of the “Server ID” field in the “Widget” section of the Server Settings.