diff options
author | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-04-23 16:37:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-23 16:37:16 +0300 |
commit | fc50c8fa81e32c6b3d0ed144f083f2f32fe279f6 (patch) | |
tree | 4118d43774e89ae7a664070c6d323ae9fcd329d1 | |
parent | Merge branch 'master' of https://github.com/fosscord/fosscord-server (diff) | |
download | server-fc50c8fa81e32c6b3d0ed144f083f2f32fe279f6.tar.xz |
self commands and /me messages
-rw-r--r-- | util/src/entities/Message.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/src/entities/Message.ts b/util/src/entities/Message.ts index b32bbd94..8bd50455 100644 --- a/util/src/entities/Message.ts +++ b/util/src/entities/Message.ts @@ -39,11 +39,13 @@ export enum MessageType { USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2 = 10, USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3 = 11, CHANNEL_FOLLOW_ADD = 12, + ACTION = 13, // /me messages GUILD_DISCOVERY_DISQUALIFIED = 14, GUILD_DISCOVERY_REQUALIFIED = 15, ENCRYPTED = 16, REPLY = 19, - APPLICATION_COMMAND = 20, + APPLICATION_COMMAND = 20, // application command or self command invocation + SELF_COMMAND_SCRIPT = 21, // self command scripts ROUTE_ADDED = 41, // custom message routing: new route affecting that channel ROUTE_DISABLED = 42, // custom message routing: given route no longer affecting that channel ENCRYPTION = 50, |