/discordbot

Discord Chat Bot

Primary LanguageJavaScript

Discord Bot

Setup

  1. Clone the Git repository
  2. Configure .env environment file:
DISCORD_TOKEN="yourDiscordBotToken"
COMMAND_CHAR="!"
LOG_LEVEL="INFO"
GAME_STATUS="Magic: The Gathering"
  1. Start the bot:
npm install
npm start

Supported commands

  • !help: show a list of available commands (in a direct message)
  • !mtg cardname
    • search for an MTG card by name and outputs the card together with an image, if available
    • Example: !mtg Tarmogoyf
  • !rule paragraph number
  • !define keyword