diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-05-14 22:34:48 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-05-14 22:34:48 +0200 |
commit | 31324b82c55e7bac7199b7ca869631633211b543 (patch) | |
tree | a94f2e4a510a7891ab2aec813ebba7a3fbefd988 /src/util/Constants.ts | |
parent | Update package.json (diff) | |
download | server-31324b82c55e7bac7199b7ca869631633211b543.tar.xz |
:sparkles: add MessageType enum
Diffstat (limited to 'src/util/Constants.ts')
-rw-r--r-- | src/util/Constants.ts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/util/Constants.ts b/src/util/Constants.ts index 808d234b..bda53174 100644 --- a/src/util/Constants.ts +++ b/src/util/Constants.ts @@ -1,3 +1,28 @@ 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, +} |