Merge branch 'master' of github.com:spacebarchat/server

This commit is contained in:
Madeline 2023-09-02 01:03:00 +10:00
commit 27bcef502c
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -506,7 +506,6 @@ export interface DMChannel extends Omit<Channel, "type" | "recipients"> {
export function isTextChannel(type: ChannelType): boolean { export function isTextChannel(type: ChannelType): boolean {
switch (type) { switch (type) {
case ChannelType.GUILD_STORE: case ChannelType.GUILD_STORE:
case ChannelType.GUILD_VOICE:
case ChannelType.GUILD_STAGE_VOICE: case ChannelType.GUILD_STAGE_VOICE:
case ChannelType.GUILD_CATEGORY: case ChannelType.GUILD_CATEGORY:
case ChannelType.GUILD_FORUM: case ChannelType.GUILD_FORUM:
@ -515,6 +514,7 @@ export function isTextChannel(type: ChannelType): boolean {
case ChannelType.DM: case ChannelType.DM:
case ChannelType.GROUP_DM: case ChannelType.GROUP_DM:
case ChannelType.GUILD_NEWS: case ChannelType.GUILD_NEWS:
case ChannelType.GUILD_VOICE:
case ChannelType.GUILD_NEWS_THREAD: case ChannelType.GUILD_NEWS_THREAD:
case ChannelType.GUILD_PUBLIC_THREAD: case ChannelType.GUILD_PUBLIC_THREAD:
case ChannelType.GUILD_PRIVATE_THREAD: case ChannelType.GUILD_PRIVATE_THREAD: