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
Casino Claim
and clickCreate
. - Click on
Bot
in the left sidebar, then give it a name and profile picture if you want. - Under
Privileged Gateway Intents
, enableMessage Content Intent
. - Click on
OAuth2
in the left sidebar, thenURL Generator
. Then scroll down toOAuth2 URL Generator
. - Under
Scopes
selectbot
. Then underneath that inBot Permissions
selectSend Messages
andRead Message History
. - Under
Integration Type
, selectGuild Install
. Then copy the link in theScopes
section 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
Bot
in the left sidebar. UnderToken
, clickReset Token
. Copy the new token and paste it into your.env
file asDISCORD_TOKEN
. - To get the Channel ID, go to
Advanced
in Discord settings, then turn onDeveloper Mode
. Then right click on the channel for the bot and clickCopy ID
. Paste the ID into your.env
file asDISCORD_CHANNEL
.
If you need a more visual guide, one user found this guide helpful.