From e942aea490790618ba28b0c081be46488a9b9af2 Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Tue, 4 May 2021 17:42:31 +0200 Subject: [PATCH] add threadd types --- src/helpers/channels/start_typing.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helpers/channels/start_typing.ts b/src/helpers/channels/start_typing.ts index 2a7a09d79..4f65aa771 100644 --- a/src/helpers/channels/start_typing.ts +++ b/src/helpers/channels/start_typing.ts @@ -19,6 +19,9 @@ export async function startTyping(channelId: bigint) { DiscordChannelTypes.Dm, DiscordChannelTypes.GuildNews, DiscordChannelTypes.GuildText, + DiscordChannelTypes.GuildNewsThread, + DiscordChannelTypes.GuildPivateThread, + DiscordChannelTypes.GuildPublicThread, ].includes(channel.type) ) { throw new Error(Errors.CHANNEL_NOT_TEXT_BASED);