A bot for discord.
- help – Display available commands
- ping – PONG
- image me search-term – Get a random image from Google search
- animate me search-term – Get a random gif from Google search
- youtube me search-term – Get a random video from Youtube search
On DM the bot will directly answer to those commands, on group DM or channel, you have to "talk" to it
with BOTNAME COMMAND or @BOTNAME COMMAND (the @ mention from discord).
Requirements:
node- a discord token
- a Google Custom Search ID and key
- a Youtube API key
$ DISCORD_TOKEN="XXX" GOOGLE_CSE_ID="XXX" GOOGLE_CSE_KEY="XXX" YOUTUBE_API_KEY="XXX" BOT_NAME="NAME" npm startDeploying to heroku
After the deployment is done, go to the Resources tab in your app dashboard and configure the Heroku Scheduler addon like this:
