mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
fix this
This commit is contained in:
@@ -133,6 +133,7 @@ import { createStageInstance } from "./channels/create_stage_instance.ts";
|
|||||||
import { updateStageInstance } from "./channels/update_stage_instance.ts";
|
import { updateStageInstance } from "./channels/update_stage_instance.ts";
|
||||||
import { getStageInstance } from "./channels/get_stage_instance.ts";
|
import { getStageInstance } from "./channels/get_stage_instance.ts";
|
||||||
import { deleteStageInstance } from "./channels/delete_stage_instance.ts";
|
import { deleteStageInstance } from "./channels/delete_stage_instance.ts";
|
||||||
|
import { isSlashCommand } from "./type_guards/is_slash_command.ts";
|
||||||
|
|
||||||
export {
|
export {
|
||||||
addDiscoverySubcategory,
|
addDiscoverySubcategory,
|
||||||
@@ -242,6 +243,7 @@ export {
|
|||||||
guildSplashURL,
|
guildSplashURL,
|
||||||
isButton,
|
isButton,
|
||||||
isSelectMenu,
|
isSelectMenu,
|
||||||
|
isSlashCommand,
|
||||||
isChannelSynced,
|
isChannelSynced,
|
||||||
kick,
|
kick,
|
||||||
kickMember,
|
kickMember,
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
import { Interaction, SlashCommandInteraction } from "../../interactions/interaction.ts";
|
import { Interaction, SlashCommandInteraction } from "../../types/interactions/interaction.ts";
|
||||||
import { DiscordInteractionTypes } from "../../interactions/interaction_types.ts";
|
import { DiscordInteractionTypes } from "../../types/interactions/interaction_types.ts";
|
||||||
|
|
||||||
/** A type guard function to tell if it is a slash command interaction */
|
/** A type guard function to tell if it is a slash command interaction */
|
||||||
export function isSlashCommand(interaction: Interaction): interaction is SlashCommandInteraction {
|
export function isSlashCommand(interaction: Interaction): interaction is SlashCommandInteraction {
|
||||||
Reference in New Issue
Block a user