Create a DiscordBot
- Go to Discord Developer Portal - My Applications
- Click on the New Application and type a name for the BOT
- Next, go to the Bot page and in the Privileged Gateway Intents allow Server members intent and Message content intent
- Next, go to the OAuth2 page
-
And then go to the OAuth2 URL Generator section and check applications.commands and bot in Scopes and in Bot permissions check Administrator
-
Then just copy the Generated URL and paste it into your browser to invite the bot to your Discord server.