Overview
Trostani is a Discord bot with some Magic the Gathering features.
Commands
Every commands starts with a prefix, by default this prefix is set to $
Tnmt
tnmt
command is used to interact with Challonge and organize tournaments
Subcommands
In order to keep things clear, some commands are restricted to one channel only.
The create subcommands can only be send in a specified channel grouping all tournaments announcements.
When a tournament is created, a dedicated channel is created for this tournament only.
Administrators
create : available only in specified channel
create
subcommand is used to create a tournament on Challonge, this will trigger the dedicated channel creation.
$tnmt create <name> // <description> // <type> (SW, DE, SE or RR) // <format> // <date> (optional, format: YYYY-MM-DD at HH:MM)
Example :
$tnmt create Tournament of The Year // A tournament organized using Trostani // SW // Standard // 2020-11-07 at 17:00
start : available in dedicated channel
start
subcommand is used to start tournament identified by channel name
$tnmt start
finalize : available in dedicated channel
finalize
subcommand is used to finish and close tournament identified by channel name
$tnmt finalize
Players
list : no channel restrictions
list
subcommand is used to list tournaments from Challonge
$tnmt list <status> (optional)
Possible values for status are :
-
pending
-
underway
-
complete
Example :
$tnmt list pending
join : available in dedicated channel
join
subcommand is used to join a tournament, you can add an optional info string like archetype of your deck
$tnmt join <archetype> (optional)
If the deck is too large (more than 2000 chars), just use the attach as text file option
Example :
$tnmt join Temur Elementals
Deck
4 Steam Vents (GRN) 257
4 Breeding Pool (RNA) 246
4 Stomping Ground (RNA) 259
1 Jace, Wielder of Mysteries (WAR) 54
2 Paradise Druid (WAR) 171
4 Neoform (WAR) 206
2 Cloudkin Seer (M20) 54
3 Scampering Scorcher (M20) 158
4 Shock (M20) 160
2 Thunderkin Awakener (M20) 162
2 Cavalier of Thorns (M20) 167
4 Leafkin Druid (M20) 178
1 Overgrowth Elemental (M20) 187
4 Omnath, Locus of the Roil (M20) 216
4 Risen Reef (M20) 217
1 Temple of Mystery (M20) 255
2 Island (ANA) 57
1 Mountain (ANA) 59
2 Forest (ANA) 60
3 The Great Henge (ELD) 161
1 Castle Embereth (ELD) 239
1 Castle Garenbrig (ELD) 240
1 Castle Vantress (ELD) 242
3 Fabled Passage (ELD) 244
Sideboard
1 Jace, Wielder of Mysteries (WAR) 54
3 Nissa, Who Shakes the World (WAR) 169
1 Tamiyo, Collector of Tales (WAR) 220
3 Chandra, Awakened Inferno (M20) 127
decks : available in dedicated channel
decks
subcommand is used to list decks from a tournament
$tnmt decks <keyword> (optional)
Example :
$tnmt decks izzet
status : available in dedicated channel
status
subcommand is used to list matches for a tournament
$tnmt status <round> (optional)
A round parameter can be used to filter matches attached to specified round
Examples :
$tnmt status
$tnmt status 2
report : available in dedicated channel
report
subcommand is used to report a match result
$tnmt report <identifier> // <winner> // <score>
The identifier parameter can be found using the status
subcommand,
winner is the match winner username, score is formated as X-Y
(order do not matter)
Examples :
$tnmt report a // @Jean // 2-0
$tnmt report B // Michel // 0-2
Sync
sync
command is used to interact with a remote builder (a site or an
application used to store decks online).
Subcommands
search
search
subcommand is used search for keywords in a deck list name from remote builder
$sync search <keyword>
Examples
$sync search temur
$sync search aggro
push
push
subcommand is used to sync a decklist to the remote builder
This command is authorized on a specific channel to avoid flood
$sync push <name> // <format> (optional) // <description> (optional)
[...decklist...]
If the deck is too large (more than 2000 chars), just use the attach as text file option
Example
$sync push Temur Elementals
Deck
4 Steam Vents (GRN) 257
4 Breeding Pool (RNA) 246
4 Stomping Ground (RNA) 259
1 Jace, Wielder of Mysteries (WAR) 54
2 Paradise Druid (WAR) 171
4 Neoform (WAR) 206
2 Cloudkin Seer (M20) 54
3 Scampering Scorcher (M20) 158
4 Shock (M20) 160
2 Thunderkin Awakener (M20) 162
2 Cavalier of Thorns (M20) 167
4 Leafkin Druid (M20) 178
1 Overgrowth Elemental (M20) 187
4 Omnath, Locus of the Roil (M20) 216
4 Risen Reef (M20) 217
1 Temple of Mystery (M20) 255
2 Island (ANA) 57
1 Mountain (ANA) 59
2 Forest (ANA) 60
3 The Great Henge (ELD) 161
1 Castle Embereth (ELD) 239
1 Castle Garenbrig (ELD) 240
1 Castle Vantress (ELD) 242
3 Fabled Passage (ELD) 244
Sideboard
1 Jace, Wielder of Mysteries (WAR) 54
3 Nissa, Who Shakes the World (WAR) 169
1 Tamiyo, Collector of Tales (WAR) 220
3 Chandra, Awakened Inferno (M20) 127
Profile
profile
command is used to return current configurated remote builder profile
$profile
Help
help
is used to get help on a specified command or subcommand
$help <command> (optional) <subcommand> (optional)
Examples
$help
$help tnmt
$help sync push