MTG
Table of Contents
Namespaces
- Builders
- Database
- Helpers
- Http
- Modules
- Parts
- Repository
Classes
- Client
- The DiscordPHP {@see \Discord\Parts\User\Client} extended so the MTG
repositories ({@see CardRepository}, {@see SetRepository},
{@see DeckRepository}) hang off the same client the rest of the bot uses.
- MTG
- The MTG client class — a DiscordPHP {@see MessageCommandClient} extended
with MTGJSON: an async HTTP client for the MTGJSON v5 API, a local copy of
its AllPrintings SQLite build for card and set searches, today's card
prices, and the card, set and deck repositories that read them.
Traits
- HelperTrait
- Small presentation helpers shared by {@see MTG} and its command handlers for
turning MTG API data into Discord output: a mention-safe
{@see MessageBuilder} factory and emoji lookup helpers. Pure formatting — no
API or model concerns live here.