Get Bot Token and Client ID from Discord
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”Windows: Run ManaoBotSetup.exe again. Click “Next” until finished, then check “Run powershell.exe” and click “Finish”.
MacOS/Linux: Open the ManaoBot installation folder then run bun setup.
You’ll see something like this:
⟦◄ ManaoBot v4.1.0 - Configuration ►⟧? Do you want to enable Manao Twitch Bot? (Y/n)