In order to use this bot in Discord, you have to create a bot account and invite it to your server. This guide will show you how to do that.
- Go to the Discord Developer Portal and click
New Application. - Enter a name for your bot, like
AutoRSAand clickCreate. - Click on
Botin the left sidebar, then give it a name and profile picture if you want. - Under
Privileged Gateway Intents, enableMessage Content Intent. - Click on
OAuth2in the left sidebar, thenURL Generator. Then scroll down toOAuth2 URL Generator. - Under
Scopesselectbot. Then underneath that inBot PermissionsselectSend MessagesandRead Message History. - Under
Integration Type, selectGuild Install. Then copy the link in theScopessection and paste it into your browser. Select the server you want to add the bot to and clickAuthorize. The bot should then appear in your server! - Click on
Botin the left sidebar. UnderToken, clickReset Token. Copy the new token and paste it into your.envfile asDISCORD_TOKEN. - To get the Channel ID, go to
Advancedin Discord settings, then turn onDeveloper Mode. Then right click on the channel for the bot and clickCopy ID. Paste the ID into your.envfile asDISCORD_CHANNEL. If you want to turn offDeveloper Mode, you can do so, but it isn't necessary.
If you need a more visual guide, one user found this guide helpful.