Builders
Table of Contents
Classes
- BoosterMessageBuilder
- An opened booster pack as a Components V2 message: every card with its
rarity, foil and price, the pack's value, a picker to look at a card, and
buttons to see the pack's images or open another.
- CardMessageBuilder
- Components V2 messages about one card: the card itself — art, rules text,
today's price, its set, and buttons for everything else — and the panels
those buttons open (rulings, legality, prices, foreign names, images,
JSON).
- DeckMessageBuilder
- A preconstructed deck as a Components V2 message: its commander, the main
board grouped by card type with counts, the sideboard, a picker to look at
a card, and an Export button for a decklist that MTG Arena and most deck
sites import.
- ListMessageBuilder
- One page of search results as a Components V2 message: a heading, a
numbered list, a picker that opens an entry, and Previous/Next buttons.
- SetMessageBuilder
- A set as a Components V2 message: what it is, when it came out, how big it
is, what boosters it has, with buttons to browse its cards, open a booster
and list its decks.