diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-09 20:34:34 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-09 20:34:34 +0200 |
commit | d606217c60da61ddfda39f1117483490061a094e (patch) | |
tree | 27eb1560a164ae5e74661972d734e9214fc7eb37 /src/util | |
parent | 1.3.44 (diff) | |
download | server-d606217c60da61ddfda39f1117483490061a094e.tar.xz |
:bug: fix MessageType
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Constants.ts | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/util/Constants.ts b/src/util/Constants.ts index bda53174..a9978c51 100644 --- a/src/util/Constants.ts +++ b/src/util/Constants.ts @@ -3,26 +3,26 @@ import { VerifyOptions } from "jsonwebtoken"; export const JWTOptions: VerifyOptions = { algorithms: ["HS256"] }; export enum MessageType { - DEFAULT, - RECIPIENT_ADD, - RECIPIENT_REMOVE, - CALL, - CHANNEL_NAME_CHANGE, - CHANNEL_ICON_CHANGE, - CHANNEL_PINNED_MESSAGE, - GUILD_MEMBER_JOIN, - USER_PREMIUM_GUILD_SUBSCRIPTION, - USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1, - USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2, - USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3, - CHANNEL_FOLLOW_ADD, - GUILD_DISCOVERY_DISQUALIFIED, - GUILD_DISCOVERY_REQUALIFIED, - GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING, - GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING, - THREAD_CREATED, - REPLY, - APPLICATION_COMMAND, - THREAD_STARTER_MESSAGE, - GUILD_INVITE_REMINDER, + DEFAULT = 0, + RECIPIENT_ADD = 1, + RECIPIENT_REMOVE = 2, + CALL = 3, + CHANNEL_NAME_CHANGE = 4, + CHANNEL_ICON_CHANGE = 5, + CHANNEL_PINNED_MESSAGE = 6, + GUILD_MEMBER_JOIN = 7, + USER_PREMIUM_GUILD_SUBSCRIPTION = 8, + USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1 = 9, + USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2 = 10, + USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3 = 11, + CHANNEL_FOLLOW_ADD = 12, + GUILD_DISCOVERY_DISQUALIFIED = 14, + GUILD_DISCOVERY_REQUALIFIED = 15, + GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING = 16, + GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING = 17, + THREAD_CREATED = 18, + REPLY = 19, + APPLICATION_COMMAND = 20, + THREAD_STARTER_MESSAGE = 21, + GUILD_INVITE_REMINDER = 22, } |