Making the Bot Online
Before a bot can join a server and start chatting, it needs a way to log in. Discord bots use something called a Bot Token to log in and operate. Unlike Twitch or Kick, you don’t have to deal with OAuth or scopes. Just create a bot, copy the Token, and paste it into the setup script.
Alright, enough introduction — let’s get started!
Create an Application
Section titled “Create an Application”Before having a bot, you need to create an application in Discord. Follow these steps:
- Log in to the Discord Developer Portal
- Click the “New Application” button in the top-right corner
- Give it any name you want (this is NOT the bot’s display name in servers — it’s just the application name)
- Click “Create” and you’re done
Get the Bot Token
Section titled “Get the Bot Token”Now for the important part. Follow these steps:
- In the left sidebar, click the “Bot” tab
- Click “Reset Token”
- Enter your 2FA code if prompted
- A long string of text will appear — that is your Bot Token
- Click “Copy” and store it somewhere safe immediately. Once you leave this page, you won’t be able to view it again. If lost, you must reset it.
Invite the Bot to a Server
Section titled “Invite the Bot to a Server”Your bot is ready, but it has nowhere to go yet. You need to invite it to a server:
- In the left sidebar, click “OAuth2” and select “URL Generator”
- Under Scopes, check
bot - Under Bot Permissions, check
Administrator - Copy the generated URL at the bottom
- Open the URL in your browser, select your server, and click “Authorize”
Configure the Bot in Manao
Section titled “Configure the Bot in Manao”Open the ManaoBot Setup shortcut on your Desktop.
You’ll see something like this:
⟦◄ ManaoBot v4.1.0 - Configuration ►⟧? Do you want to setup Manao Twitch Bot? (Y/n)Press n then Enter, and keep doing so until you see this question:
? Do you want to setup Manao Discord Bot? (Y/n)Press Enter. You’ll then see:
⚠ To enable Discord integration, you need to create a Discord Bot and get its token. Read the guide below:→ English: https://manaobot.netlify.app/en/discord/getting-started/→ Thai: https://manaobot.netlify.app/th/discord/getting-started/? Enter your Discord Bot Token (Leave blank for unchanged) [input is masked]Enter the Bot Token you copied earlier and press Enter. (It won’t show what you type — don’t panic. Just press Enter.)
Answer the remaining questions as needed. If you’re unsure what something is or don’t want to use it, press n then Enter to skip. When finished, you’ll see:
✅ Configuration complete! Your .env file has been created.That’s it! You’re ready to run ManaoBot.