/judgebot

Discord Bot for Magic: The Gathering / Judge related content

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

MTG Discord Bot

image

Discord Bot for Magic / Judge related content

Add the bot to your server

Supported commands

You can list the judgebot commands by typing / in discord and clicking on the Judgebot icon.

Development Setup

Clone the Git repository and run the following commands:

npm install
export DISCORD_TOKEN="<your Discord bot token>"
export GOOGLE_TOKEN="<your Google (Maps) API key>"
export CR_ADDRESS="https://media.wizards.com/2020/downloads/MagicCompRules%2020200417.txt"
export IPG_ADDRESS="https://raw.githubusercontent.com/hgarus/mtgdocs/master/docs/ipg.json"
export MTR_ADDRESS="https://sites.google.com/site/mtgfamiliar/rules/MagicTournamentRules-light.html"
npm run build
node updateInteractions.js
node server.js

Badges

Code Climate

Acknowledgements

  • Card images are all copyright Wizards of the Coast.
  • Card database is provided by Scryfall.org.
  • This bot is not affiliated with Wizards of the Coast in any way.
  • The server is kindly provided by SKnetworX