tourdata import bracketwinners - shinyfinder/chatot-smogon GitHub Wiki

Usage

Availability: Select Guilds

/tourdata import bracketwinners

Example:

/tourdata import bracketwinners

Permissions

  • Chatot: View Channel, Send Messages (in Threads), Attach Files
  • Users: Ban Members

Description

Summary: Imports winners and updates brackets in the channel accordingly.

Parses the channel for any messages containing brackets without results indicated. These messages are formatted as <@116010375790592003> vs <@1182485696678727710> or a variation thereof. The user is prompted to supply the IDs of the winners of each matchup on a separate line. Using these results the matchups from the bracket messages are resolved and output to a .csv containing the results formatting of the matchup **(W) <@116010375790592003>** vs <@1182485696678727710> (L) for the user to update the bracket with. If any matchups did not have a winner specified a second .csv will be output containing all unresolved matchups so the user may run the command again or manually resolve issues.

⚠️ **GitHub.com Fallback** ⚠️