Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StageInstanceManager

Hierarchy

  • StageInstanceManager

Index

Constructors

  • Parameters

    • token: string

      Bot's token

    • tokenType: string
    • version: APIVersions

      API Version

    Returns StageInstanceManager

Methods

  • Create a stage instance

    Parameters

    Returns Promise<StageInstance>

    A StageInstance object.

  • deleteStageInstance(channelId: string, reason?: string): Promise<void>
  • Deletes a stage instance

    Parameters

    • channelId: string

      The ID of the channel you want to delete.

    • Optional reason: string

    Returns Promise<void>

  • Get the stage instance of a channel

    Parameters

    • channelId: string

      The ID of the channel you want to get the stage instance of.

    Returns Promise<StageInstance>

    A Stage Instance

  • Modify a stage instance

    Parameters

    • channelId: string

      The ID of the channel you want to modify.

    • options: ModifyStageInstanceOptions

      ModifyStageInstanceOptions

    • Optional reason: string

    Returns Promise<StageInstance>

    A Stage Instance

Properties

version: APIVersions

API Version

#token: string

Bot's token

#tokenType: string

Token type

Generated using TypeDoc