diff options
author | Puyodead1 <puyodead@proton.me> | 2023-08-27 20:16:49 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-08-27 20:16:49 -0400 |
commit | c311edc99c4dfc2a275ab99b887769660c29bbf0 (patch) | |
tree | 6b20a3195d583f09def90e6f51969ae9814cecf3 /src | |
parent | Merge branch 'master' of github.com:spacebarchat/server (diff) | |
download | server-c311edc99c4dfc2a275ab99b887769660c29bbf0.tar.xz |
make guild voice a text based channel
Diffstat (limited to 'src')
-rw-r--r-- | src/util/entities/Channel.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts index 19952bc2..6268d735 100644 --- a/src/util/entities/Channel.ts +++ b/src/util/entities/Channel.ts @@ -506,7 +506,6 @@ export interface DMChannel extends Omit<Channel, "type" | "recipients"> { export function isTextChannel(type: ChannelType): boolean { switch (type) { case ChannelType.GUILD_STORE: - case ChannelType.GUILD_VOICE: case ChannelType.GUILD_STAGE_VOICE: case ChannelType.GUILD_CATEGORY: case ChannelType.GUILD_FORUM: @@ -515,6 +514,7 @@ export function isTextChannel(type: ChannelType): boolean { case ChannelType.DM: case ChannelType.GROUP_DM: case ChannelType.GUILD_NEWS: + case ChannelType.GUILD_VOICE: case ChannelType.GUILD_NEWS_THREAD: case ChannelType.GUILD_PUBLIC_THREAD: case ChannelType.GUILD_PRIVATE_THREAD: |