Skip to content

hgarus/judgebot

 
 

Repository files navigation

MTG Discord Bot

Code Climate

Discord Bot for Magic / Judge related content

Add the bot to your server

Setup

Clone the Git repository and run the following commands:

npm install
export DISCORD_TOKEN="<your Discord bot token>"
export CR_ADDRESS="http://media.wizards.com/2016/docs/MagicCompRules_20160930.txt"
node server.js

Supported commands

  • !card <partial cardname>: searches for an (English) card by name and outputs the card together with an image, if available, Example: !card Tarmogoyf
  • !cr <paragraph number>: shows the chosen paragraph from the Comprehensive Rules, Example: !cr 100.6b
  • !define <keyword>: shows the chosen keyword definition from the Comprehensive Rules, Example: !define banding
  • !ipg <paragraph number>: shows the chosen paragraph from the Infraction Procedure Guide, Example: !ipg 2.1, !ipg hce
  • !help: show a list of available commands (in a direct message)

Coming soon

  • !mtr <paragraph number>
  • !jar <paragraph number>

About

Discord Bot for Magic / Judge related content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%