mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
fix my renaming thing
This commit is contained in:
@@ -16,9 +16,9 @@ export async function startTyping(channelId: string) {
|
||||
if (channel) {
|
||||
if (
|
||||
![
|
||||
DiscordChannelTypes.DM,
|
||||
DiscordChannelTypes.GUILD_NEWS,
|
||||
DiscordChannelTypes.GUILD_TEXT,
|
||||
DiscordChannelTypes.Dm,
|
||||
DiscordChannelTypes.GuildNews,
|
||||
DiscordChannelTypes.GuildText,
|
||||
].includes(channel.type)
|
||||
) {
|
||||
throw new Error(Errors.CHANNEL_NOT_TEXT_BASED);
|
||||
|
||||
Reference in New Issue
Block a user