- Clone the Git repository
- Configure
.env
environment file:
DISCORD_TOKEN="yourDiscordBotToken"
COMMAND_CHAR="!"
LOG_LEVEL="INFO"
GAME_STATUS="Magic: The Gathering"
- Start the bot:
npm install
npm start
!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
- shows the chosen paragraph from the MTG Comprehensive Rules
- Example: !rule 100.6b
!define keyword
- show the chosen keyword definition from the MTG Comprehensive Rules
- Example: !define banding