config cc add - shinyfinder/chatot-smogon GitHub Wiki

Usage

Availability: All Guilds

/config cc add <channel> <tier> <gen> [role] [stage] [cooldown] [tierprefix]

  • channel: Channel to receive alerts for updated C&C status
  • tier: The tier associated with the channel that receives updates
  • gen: The gen associated with the channel that receives updates.
  • role (Optional): Role to ping on update
  • stage (Optional): The C&C stage(s) the provided role is used to ping for. Options are QC Ready/Progress, Done, and All (QC ready, QC progress, and done). Default is 'All' if none provided.
  • cooldown (Optional): Minimum time between alerts for QC progress.
  • tierprefix (Optional): Non-stage Smogon thread prefix used to distinguish between metas or gens.

Example:

/config cc add channel:123456 tier:ou gen:sv role:987654 stage: QC Ready/Progress tierprefix:AAA

Permissions

  • Chatot: View Channel, Send Messages | Send Messages in Threads in target channel
  • Users: Ban Members

Description

Summary: Configures a channel to receive alerts for updated thread C&C statuses.

This command is used to subscribe to C&C status updates of threads posted on the Smogon forums. Because the GP bot handles GP updates, only QC progress and full C&C completion are monitored at this time. Optionally providing a role to the respective field will ping that role in the specified channel whenever there is an update in the provided stage. No pings are made when a thread progresses to GP ready. The minimum time between QC progress pings can be set by passing an integer value to cooldown. The allowable values range from 0-12 hours; the default is 0, meaning there is no cooldown between alerts.

For C&C forums that use a thread prefix to distinguish between different tiers (i.e. AAA, Inheritance, BH, etc in OMs) or gens (i.e. Gen 1, Gen 2, etc in Old Gens), please provide the respective thread prefix to the tierprefix field. Standard C&C stage thread prefixes, like QC or GP, are taken into account and do not need to be specified.

For example, a typical command for tracking Gen 9 AAA threads might look like:

/config cc add channel: #cc-int-test tier: almost-any-ability gen: sv tierprefix: AAA

For tracking old gens OU, you might use something like:

/config cc add channel: #cc-int-test tier: ou gen: xy tierprefix: Gen 6

And for current gen OU, it something like:

/config cc add channel: #cc-int-test tier: ou gen: sv

The forums that Chatot's tracks for C&C status updates are defined within the CMS's Formats page. If a new C&C forum is created (i.e. at the start of a gen), this CMS page will need to be updated as well to point Chatot to it. If it's a new subforum, setting Chatot to track it via the above command is not enough to receive alerts. However, for any established subforums, this step is unnecessary. If you have any issues, questions, or doubts, contact shiny finder. Editing of the Formats page is restricted to Smogon badgeholders.

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