https://github.com/bra1n/judgebot
Discord Bot for Magic: The Gathering / Judge related content
https://github.com/bra1n/judgebot
card comprehensive-rules discord discord-bot ipg judge magic mtg mtr
Last synced: 5 months ago
JSON representation
Discord Bot for Magic: The Gathering / Judge related content
- Host: GitHub
- URL: https://github.com/bra1n/judgebot
- Owner: bra1n
- License: gpl-3.0
- Created: 2016-10-25T19:36:02.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2023-10-16T14:30:44.000Z (over 2 years ago)
- Last Synced: 2024-04-15T02:05:10.944Z (about 2 years ago)
- Topics: card, comprehensive-rules, discord, discord-bot, ipg, judge, magic, mtg, mtr
- Language: TypeScript
- Homepage: https://discord.com/api/oauth2/authorize?client_id=240537940378386442&permissions=274878187520&scope=applications.commands%20bot
- Size: 899 KB
- Stars: 33
- Watchers: 7
- Forks: 17
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# MTG Discord Bot

Discord Bot for Magic / Judge related content
[Add the bot to your server](https://discord.com/api/oauth2/authorize?client_id=240537940378386442&permissions=274878187520&scope=applications.commands%20bot)
## 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:
```sh
npm install
export DISCORD_TOKEN=""
export GOOGLE_TOKEN=""
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
[](https://codeclimate.com/github/bra1n/judgebot)
## 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](http://www.sknetworx.net)