Welcome to the Discord MTG Bot repository! This bot provides Magic: The Gathering (MTG) card information and translations within the Discord platform.
- Card Information: Retrieve detailed information about MTG cards, including mana cost, type, rarity, artist, and more.
- Card Name Translation: Translate MTG card names from one language to another, facilitating communication among players of different linguistic backgrounds.
- Help Command: Accessible help command to guide users on how to interact with the bot effectively.
To use the Discord MTG Bot, follow these steps:
- Clone the repository to your local machine.
- Install the required dependencies by running running the setup.sh script.
- Set up a Discord bot application and obtain its API key.
- Create a
.env
file and add your Discord bot API key using the formatDISCORD_API_KEY=your_api_key_here
. - Run the bot script using
python bot.py
.
Once the bot is running, users can interact with it using the following commands:
Magic info [lang] [cardName]
: Get information about MTG cards.Magic tr [original_lang] [cardName] [target_lang]
: Translate MTG card names into other languages.Magic help [lang]
: Get help information.
- Special thanks to the developers of the
discord.py
library and the MTG API for making this project possible.