Skip to content

tyejae/discord-bot

Repository files navigation

Discord bot

A bot for discord.

Build Status Test Coverage

Deploy

Features

  • 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).

Run

Requirements:

$ DISCORD_TOKEN="XXX" GOOGLE_CSE_ID="XXX" GOOGLE_CSE_KEY="XXX" YOUTUBE_API_KEY="XXX" BOT_NAME="NAME" npm start

Deploying to heroku

Deploy

After the deployment is done, go to the Resources tab in your app dashboard and configure the Heroku Scheduler addon like this:

About

A bot, for discord

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published