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 { getStageInstance } from "./channels/get_stage_instance.ts";
|
||||
import { deleteStageInstance } from "./channels/delete_stage_instance.ts";
|
||||
import { isSlashCommand } from "./type_guards/is_slash_command.ts";
|
||||
|
||||
export {
|
||||
addDiscoverySubcategory,
|
||||
@@ -242,6 +243,7 @@ export {
|
||||
guildSplashURL,
|
||||
isButton,
|
||||
isSelectMenu,
|
||||
isSlashCommand,
|
||||
isChannelSynced,
|
||||
kick,
|
||||
kickMember,
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
import { Interaction, SlashCommandInteraction } from "../../interactions/interaction.ts";
|
||||
import { DiscordInteractionTypes } from "../../interactions/interaction_types.ts";
|
||||
import { Interaction, SlashCommandInteraction } from "../../types/interactions/interaction.ts";
|
||||
import { DiscordInteractionTypes } from "../../types/interactions/interaction_types.ts";
|
||||
|
||||
/** A type guard function to tell if it is a slash command interaction */
|
||||
export function isSlashCommand(interaction: Interaction): interaction is SlashCommandInteraction {
|
||||
Reference in New Issue
Block a user