summary refs log tree commit diff
path: root/util/src/entities/Channel.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-04 12:18:49 +0200
committerGitHub <noreply@github.com>2021-09-04 12:18:49 +0200
commitbfdd9c10d82760f0cadc2d59aa2b467cdf14b02a (patch)
tree5477dcf75a9abf3d5d5124b319e9251728744fd1 /util/src/entities/Channel.ts
parent:bug: fix ReadyEventData (diff)
parent:pencil: added comments and updated type (diff)
downloadserver-bfdd9c10d82760f0cadc2d59aa2b467cdf14b02a.tar.xz
Merge pull request #320 from AlTech98/master
Added /guilds/:id/voice-states/ apis, VOICE_SERVER_UPDATE fix
Diffstat (limited to '')
-rw-r--r--util/src/entities/Channel.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/src/entities/Channel.ts b/util/src/entities/Channel.ts

index 0be1c5ec..fce85e3f 100644 --- a/util/src/entities/Channel.ts +++ b/util/src/entities/Channel.ts
@@ -16,6 +16,11 @@ 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 + // TODO: what are channel types between 7-9? + 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")