How do I start Red-DiscordBot?
- In the panel, open My servers and click your server.
- On the Overview tab, wait for the App row to say "Red-DiscordBot is ready". The page refreshes itself.
- Note the IP in the Connection address row.
- Create an application in the Discord Developer Portal. On the Bot page, use Reset Token to get your token and turn on all three Privileged Gateway Intents on the same page. Red will not connect without them.
- Connect with SSH and open the file:
nano /home/red/bot.env - Paste the token after
RED_TOKEN=and save. Red starts by itself within seconds. - Watch the log with
journalctl -u redbot -f. When the bot connects, the log shows an Invite URL for your server. - Use that link to add the bot to your Discord server, then type
!help.
Good to know
- With no token, the service stays up and logs "token bekleniyor / waiting for token". That is normal.
RED_PREFIXin/home/red/bot.envsets the command prefix. After changing it, runsystemctl restart redbot.- The music add-on needs Java, which comes installed. Turn it on in Discord with
!load audio. - To update:
systemctl stop redbot,su - red -c "redenv/bin/python -m pip install -U Red-DiscordBot",systemctl start redbot. - The bot takes no incoming connections, so only port 22 for SSH is open. Your data is in
/home/red/redbot-veri.
No server yet? Order a server with Red-DiscordBot installed: you choose the size and pay for what you choose.
Was this helpful?
Thanks for your feedback!