Discord Bot for Magic / Judge related content
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- !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)
- !mtr <paragraph number>
- !jar <paragraph number>