A Magic: The Gathering API Library and bot for Discord, built using DiscordPHP.
- Search for Magic: The Gathering cards
- User installable, usable anywhere
- PHP 8.1 or higher
- Composer
-
Clone the repository:
git clone https://github.com/discord-php-extended/discordphp-mtg.git cd DiscordPHP-MTG
-
Install dependencies:
composer install
- Copy and rename
.env.example
to.env
and configure your bot token. - Run the bot:
php bot.php
- Alternatively, package the bot into an executable binary:
composer run-script phpacker
See CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License. See LICENSE.md for details.