summary refs log tree commit diff
path: root/dist/models/Application.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/Application.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/Application.d.ts')
-rw-r--r--dist/models/Application.d.ts39
1 files changed, 0 insertions, 39 deletions
diff --git a/dist/models/Application.d.ts b/dist/models/Application.d.ts
deleted file mode 100644

index 53483c49..00000000 --- a/dist/models/Application.d.ts +++ /dev/null
@@ -1,39 +0,0 @@ -export interface ApplicationCommand { - id: bigint; - application_id: bigint; - name: string; - description: string; - options?: ApplicationCommandOption[]; -} -export interface ApplicationCommandOption { - type: ApplicationCommandOptionType; - name: string; - description: string; - required?: boolean; - choices?: ApplicationCommandOptionChoice[]; - options?: ApplicationCommandOption[]; -} -export interface ApplicationCommandOptionChoice { - name: string; - value: string | number; -} -export declare enum ApplicationCommandOptionType { - SUB_COMMAND = 1, - SUB_COMMAND_GROUP = 2, - STRING = 3, - INTEGER = 4, - BOOLEAN = 5, - USER = 6, - CHANNEL = 7, - ROLE = 8 -} -export interface ApplicationCommandInteractionData { - id: bigint; - name: string; - options?: ApplicationCommandInteractionDataOption[]; -} -export interface ApplicationCommandInteractionDataOption { - name: string; - value?: any; - options?: ApplicationCommandInteractionDataOption[]; -}