diff options
author | AlTech98 <altech123159@gmail.com> | 2021-09-04 11:43:09 +0200 |
---|---|---|
committer | AlTech98 <altech123159@gmail.com> | 2021-09-04 11:43:09 +0200 |
commit | aafdc5d0eeab36d04d0a0463a2c7d10727954f88 (patch) | |
tree | 0d161d6abcc7b326c9c02fbd19b149b2a67879e9 /util/src/entities | |
parent | VOICE_SERVER_UPDATE now has the endpoint of the guild's region (diff) | |
download | server-aafdc5d0eeab36d04d0a0463a2c7d10727954f88.tar.xz |
Added missing permissions and channel types
Diffstat (limited to 'util/src/entities')
-rw-r--r-- | util/src/entities/Channel.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/src/entities/Channel.ts b/util/src/entities/Channel.ts index 0be1c5ec..486b5c44 100644 --- a/util/src/entities/Channel.ts +++ b/util/src/entities/Channel.ts @@ -16,6 +16,10 @@ export enum ChannelType { GUILD_CATEGORY = 4, // an organizational category that contains up to 50 channels GUILD_NEWS = 5, // a channel that users can follow and crosspost into their own server GUILD_STORE = 6, // a channel in which game developers can sell their game on Discord + GUILD_NEWS_THREAD = 10, // a temporary sub-channel within a GUILD_NEWS channel + GUILD_PUBLIC_THREAD = 11, // a temporary sub-channel within a GUILD_TEXT channel + GUILD_PRIVATE_THREAD = 12, // a temporary sub-channel within a GUILD_TEXT channel that is only viewable by those invited and those with the MANAGE_THREADS permission + GUILD_STAGE_VOICE = 13, // a voice channel for hosting events with an audience } @Entity("channels") |