Constructors

Methods

  • Create the counter channels themselves, and link them.

    Use this rather than making a voice channel and pointing updateStatChannel at it - the bot names the new channel from the server's own statChannelLive / statFollowers template and sets its permissions.

    Check canCreate from getStatChannels first. Creating needs the bot to read the creator's live state, and the platforms that support that are narrower than the ones that can hold a counter - a platform outside that list is a 400, not a silent no-op.

    followers is Kick-only; asking for it anywhere else is a 400 naming the platform. 404 when the creator is not tracked in this guild, 400 when the live or follower read failed, in which case nothing was created.

    Parameters

    Returns Promise<WebResponse<CreatedStatChannels>>