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 (followers) and YouTube (subscribers); YouTube accepts ONLY followers - see createKinds. Asking for an unsupported kind is a 400 naming the platform. 404 when the creator is not tracked in this guild, 400 when the live, follower or subscriber read failed (nothing was created), and 400 when a YouTube channel hides its subscriber count.

    Parameters

    Returns Promise<WebResponse<CreatedStatChannels>>