UNPKG

dressed

Version:

A sleek, serverless-ready Discord bot framework.

23 lines (22 loc) 1.19 kB
import type { RESTGetAPIStageInstanceResult, RESTPatchAPIStageInstanceJSONBody, RESTPatchAPIStageInstanceResult, RESTPostAPIStageInstanceJSONBody, RESTPostAPIStageInstanceResult, Snowflake } from "discord-api-types/v10"; /** * Creates a new Stage instance associated to a Stage channel. * @param data The data to create the Stage instance with */ export declare function createStage(data: RESTPostAPIStageInstanceJSONBody): Promise<RESTPostAPIStageInstanceResult>; /** * Gets the stage instance associated with the Stage channel, if it exists. * @param channel The channel to get the Stage instance for */ export declare function getStage(channel: Snowflake): Promise<RESTGetAPIStageInstanceResult>; /** * Updates fields of an existing Stage instance. * @param channel The channel to modify the Stage instance for * @param data The new data for the Stage instance */ export declare function modifyStage(channel: Snowflake, data: RESTPatchAPIStageInstanceJSONBody): Promise<RESTPatchAPIStageInstanceResult>; /** * Deletes the Stage instance. * @param channel The channel to delete the Stage instance for */ export declare function deleteStage(channel: Snowflake): Promise<void>;