summary refs log tree commit diff
path: root/dist/models/Interaction.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-14 15:01:27 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-14 15:01:27 +0200
commit9c62b43664f9808497cdaf5142ef071c4e01275d (patch)
treea2a8b0b0b72d2182229e332b158fd9310a1cb809 /dist/models/Interaction.d.ts
parent:zap: export regex (diff)
parent:bug: fix Activity model (diff)
downloadserver-9c62b43664f9808497cdaf5142ef071c4e01275d.tar.xz
Merge branch 'main' of https://github.com/discord-open-source/discord-server-util into main
Diffstat (limited to 'dist/models/Interaction.d.ts')
-rw-r--r--dist/models/Interaction.d.ts28
1 files changed, 0 insertions, 28 deletions
diff --git a/dist/models/Interaction.d.ts b/dist/models/Interaction.d.ts
deleted file mode 100644

index df03b8a9..00000000 --- a/dist/models/Interaction.d.ts +++ /dev/null
@@ -1,28 +0,0 @@ -import { AllowedMentions, Embed } from "./Message"; -export interface Interaction { - id: bigint; - type: InteractionType; - data?: {}; - guild_id: bigint; - channel_id: bigint; - member_id: bigint; - token: string; - version: number; -} -export declare enum InteractionType { - Ping = 1, - ApplicationCommand = 2 -} -export declare enum InteractionResponseType { - Pong = 1, - Acknowledge = 2, - ChannelMessage = 3, - ChannelMessageWithSource = 4, - AcknowledgeWithSource = 5 -} -export interface InteractionApplicationCommandCallbackData { - tts?: boolean; - content: string; - embeds?: Embed[]; - allowed_mentions?: AllowedMentions; -}