summary refs log tree commit diff
path: root/dist/models/Application.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 23:25:56 +0200
committerGitHub <noreply@github.com>2021-04-06 23:25:56 +0200
commite8c79c8e48b1a69fe7662e9b3bc8f5366d328475 (patch)
treeb4d69ea9692670e4338bf23db5fd0312b5cd6c17 /dist/models/Application.d.ts
parent:bug: fix Message Model (diff)
parent:arrow_up: update mongodb (diff)
downloadserver-e8c79c8e48b1a69fe7662e9b3bc8f5366d328475.tar.xz
Merge pull request #2 from afeuerstein/main
Merge fosscord/fosscord-server-util/ with afeuerstein/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 68e026bb..00000000 --- a/dist/models/Application.d.ts +++ /dev/null
@@ -1,39 +0,0 @@ -export interface ApplicationCommand { - id: string; - application_id: string; - 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: string; - name: string; - options?: ApplicationCommandInteractionDataOption[]; -} -export interface ApplicationCommandInteractionDataOption { - name: string; - value?: any; - options?: ApplicationCommandInteractionDataOption[]; -}