summary refs log tree commit diff
path: root/dist/models/Interaction.d.ts
diff options
context:
space:
mode:
authorxnacly <matteogropp@gmail.com>2021-04-08 15:56:11 +0200
committerxnacly <matteogropp@gmail.com>2021-04-08 15:56:11 +0200
commitf01fe1ba3ac22d33ecf61659d1f65c5ac1ba4e17 (patch)
tree1a3361f31dbbf700efb84513c95388cfbfb2e58f /dist/models/Interaction.d.ts
parentadded hasThrow (diff)
parent:bug: move dev dependencies to normal (diff)
downloadserver-f01fe1ba3ac22d33ecf61659d1f65c5ac1ba4e17.tar.xz
Merge branch 'main' of https://github.com/fosscord/fosscord-server-util
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; -}