Skip to main content
Module

x/higa/mod.ts>StageInstanceManager

A package to interract with the Discord API coded by myself
Latest
class StageInstanceManager
Re-export
import { StageInstanceManager } from "https://deno.land/x/higa@0.1.2/mod.ts";

Constructors

new
StageInstanceManager(
token: string,
tokenType: string,
version: APIVersions,
)

Properties

readonly
version: APIVersions

API Version

Methods

createStageInstance(options: CreateStageInstanceOptions, reason?: string): Promise<StageInstance>

Create a stage instance

deleteStageInstance(channelId: string, reason?: string): Promise<void>

Deletes a stage instance

getStageInstance(channelId: string): Promise<StageInstance>

Get the stage instance of a channel

modifyStageInstance(
channelId: string,
reason?: string,
): Promise<StageInstance>

Modify a stage instance