diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-09-02 01:03:00 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-09-02 01:03:00 +1000 |
commit | 27bcef502ccab850c4978073b0d256ea309e55c6 (patch) | |
tree | ed164e3702a15257481c6cfe0fbd344f5c2b012d /src/util | |
parent | DB_LOGGING env var (diff) | |
parent | make guild voice a text based channel (diff) | |
download | server-27bcef502ccab850c4978073b0d256ea309e55c6.tar.xz |
Merge branch 'master' of github.com:spacebarchat/server
Diffstat (limited to 'src/util')
-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: |