Discord sample bot working on glitch.com
How to launch bot
- Import this repository to
glitch.com
. - Add this line to
.env
file;DISCORD_BOT_TOKEN={YOUR_DISCORD_BOT_USER_TOKEN}
- Just run on
glitch.com
!
To get discord bot token, visit discord official develoer site; https://discordapp.com/developers/applications/me/
Running bot 24h on glitch.com
Applications on glitch.com
may sleep when keep no access for 5 minutes.
You must ping application URL every 5 minutes to run your bot continuously.
Using uptimerobot.com
service is just good.