Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/higa/deno/client/index.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/deno/client/index.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