summary refs log tree commit diff
path: root/util/src/interfaces
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-04-11 00:25:53 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-04-11 00:26:33 +1000
commit4304b77987df763a616bfc4387d3884187cf15fd (patch)
tree22e14d0086d60cd01239a94ca3805ccd988a0f38 /util/src/interfaces
parentMerge branch 'master' into fix/claim_accounts (diff)
parentUpdate Guild.ts (diff)
downloadserver-4304b77987df763a616bfc4387d3884187cf15fd.tar.xz
Merge branch 'master' into fix/claim_accounts
Diffstat (limited to '')
-rw-r--r--util/src/interfaces/Event.ts1
-rw-r--r--util/src/interfaces/Interaction.ts2
-rw-r--r--util/src/interfaces/Status.ts2
3 files changed, 4 insertions, 1 deletions
diff --git a/util/src/interfaces/Event.ts b/util/src/interfaces/Event.ts

index a5253c09..416082ed 100644 --- a/util/src/interfaces/Event.ts +++ b/util/src/interfaces/Event.ts
@@ -623,6 +623,7 @@ export type EVENT = | "PRESENCE_UPDATE" | "TYPING_START" | "USER_UPDATE" + | "USER_NOTE_UPDATE" | "WEBHOOKS_UPDATE" | "INTERACTION_CREATE" | "VOICE_STATE_UPDATE" diff --git a/util/src/interfaces/Interaction.ts b/util/src/interfaces/Interaction.ts
index 3cafb2d5..5d3aae24 100644 --- a/util/src/interfaces/Interaction.ts +++ b/util/src/interfaces/Interaction.ts
@@ -12,11 +12,13 @@ export interface Interaction { } export enum InteractionType { + SelfCommand = 0, Ping = 1, ApplicationCommand = 2, } export enum InteractionResponseType { + SelfCommandResponse = 0, Pong = 1, Acknowledge = 2, ChannelMessage = 3, diff --git a/util/src/interfaces/Status.ts b/util/src/interfaces/Status.ts
index c4dab586..5d2e1bba 100644 --- a/util/src/interfaces/Status.ts +++ b/util/src/interfaces/Status.ts
@@ -1,4 +1,4 @@ -export type Status = "idle" | "dnd" | "online" | "offline"; +export type Status = "idle" | "dnd" | "online" | "offline" | "invisible"; export interface ClientStatus { desktop?: string; // e.g. Windows/Linux/Mac