mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
add: stage instances (#924)
* feat: implement stage instances Reference: https://github.com/discord/discord-api-docs/pull/2898 * feat: implement stage instances * Update src/types/misc/stage_instance.ts Co-authored-by: ITOH <to@itoh.at> * Update src/helpers/misc/delete_stage_instance.ts Co-authored-by: ITOH <to@itoh.at> * Update src/types/misc/stage_instance.ts Co-authored-by: ITOH <to@itoh.at> * Move stage instances related modules to channels module * Move to channels * Move to channels * Add permission checks * Add permissions checl * Ad inhibitors * style: fix lint warnings * Do not throw & add import type Co-authored-by: ITOH <to@itoh.at>
This commit is contained in:
@@ -128,6 +128,10 @@ import { getWebhooks } from "./webhooks/get_webhooks.ts";
|
||||
import { getWebhookMessage } from "./webhooks/get_webhook_message.ts";
|
||||
import { getWebhookWithToken } from "./webhooks/get_webhook_with_token.ts";
|
||||
import { sendWebhook } from "./webhooks/send_webhook.ts";
|
||||
import { createStageInstance } from "./channels/create_stage_instance.ts";
|
||||
import { updateStageInstance } from "./channels/update_stage_instance.ts";
|
||||
import { getStageInstance } from "./channels/get_stage_instance.ts";
|
||||
import { deleteStageInstance } from "./channels/delete_stage_instance.ts";
|
||||
|
||||
export {
|
||||
addDiscoverySubcategory,
|
||||
@@ -148,6 +152,7 @@ export {
|
||||
createInvite,
|
||||
createRole,
|
||||
createSlashCommand,
|
||||
createStageInstance,
|
||||
createWebhook,
|
||||
deleteChannel,
|
||||
deleteChannelOverwrite,
|
||||
@@ -161,6 +166,7 @@ export {
|
||||
deleteRole,
|
||||
deleteSlashCommand,
|
||||
deleteSlashResponse,
|
||||
deleteStageInstance,
|
||||
deleteWebhook,
|
||||
deleteWebhookMessage,
|
||||
deleteWebhookWithToken,
|
||||
@@ -217,6 +223,7 @@ export {
|
||||
getSlashCommandPermission,
|
||||
getSlashCommandPermissions,
|
||||
getSlashCommands,
|
||||
getStageInstance,
|
||||
getTemplate,
|
||||
getUser,
|
||||
getVanityURL,
|
||||
@@ -260,6 +267,7 @@ export {
|
||||
unpin,
|
||||
unpinMessage,
|
||||
updateBotVoiceState,
|
||||
updateStageInstance,
|
||||
upsertSlashCommand,
|
||||
upsertSlashCommands,
|
||||
validDiscoveryTerm,
|
||||
@@ -282,6 +290,10 @@ export let helpers = {
|
||||
startTyping,
|
||||
swapChannels,
|
||||
updateBotVoiceState,
|
||||
createStageInstance,
|
||||
getStageInstance,
|
||||
updateStageInstance,
|
||||
deleteStageInstance,
|
||||
// commands
|
||||
createSlashCommand,
|
||||
deleteSlashCommand,
|
||||
|
||||
Reference in New Issue
Block a user