Skip to content

discord-php/DiscordPHP-MTG

Repository files navigation

DiscordPHP-MTG

A Magic: The Gathering API Library and bot for Discord, built using DiscordPHP.

Features

  • Search for Magic: The Gathering cards
  • User installable, usable anywhere

Requirements

  • PHP 8.1 or higher
  • Composer

Installation

  1. Clone the repository:

    git clone https://github.com/discord-php-extended/discordphp-mtg.git
    cd DiscordPHP-MTG
  2. Install dependencies:

    composer install

Usage

  1. Copy and rename .env.example to .env and configure your bot token.
  2. Run the bot:
    php bot.php
  3. Alternatively, package the bot into an executable binary:
    composer run-script phpacker

Contributing

See CONTRIBUTING.md for guidelines.

License

This project is licensed under the MIT License. See LICENSE.md for details.

About

API Library for api.magicthegathering.io built on top of DiscordPHP

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages