Discord Bot
Create a Discord App
- Go to the Developer Portal (opens in a new tab).
- Create a
New Application. - Enter a name, accept the ToS, and click Create.
- Click OAuth2 on the left.
- Under Scopes,
selectbot. - Leave the permissions empty!
- Scroll down, copy the generated URL and open it in a new browser tab.
- Select the Discord server and click Authorise.
- The bot/application has now joined your Discord server.
- Go back to the Developer Portal and click Bot on the left side.
- Click
Reset Tokenand copy the bot token. You can save this in a notepad for now. - Ensure
Privileged Gateway Intentsare enabled on the same page (scroll down). - You can now close this tab and go back to your txAdmin web panel.
⚠️
Never share your Discord bot token with anyone!
Configure txAdmin
- In txAdmin, head over to "Settings -> Discord".
- You should now be at a page that looks like
this. - Make sure to enable the bot with the switch.
- Copy the Discord token that we kept in the notepad earlier in the "Token" field.
- Enable Discord developer mode: Settings -> Advanced -> Developer mode.
- Go to Discord, right click your Discord server and click "Copy Server ID".
- If you want the bot to send announcements to the Discord, paste the channel ID that you want to use.
- Click "Save Discord Settings".