/glitch-discord-bot

a sample discord bot working on glitch.com

Primary LanguageJavaScript

Discord sample bot working on glitch.com

How to launch bot

  1. Import this repository to glitch.com.
  2. Add this line to .env file; DISCORD_BOT_TOKEN={YOUR_DISCORD_BOT_USER_TOKEN}
  3. 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.