From b1df099e7663b5a01c6df5a85510c410294ec1e5 Mon Sep 17 00:00:00 2001 From: Paolo <73677465+paolojpa@users.noreply.github.com> Date: Tue, 14 Jun 2022 00:43:59 -0400 Subject: [PATCH] Missing ThreadChannel support --- .../InternalPoster/functions/getOrCreateWebhookForChannel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/InternalPoster/functions/getOrCreateWebhookForChannel.ts b/backend/src/plugins/InternalPoster/functions/getOrCreateWebhookForChannel.ts index 9785271e..dd70270d 100644 --- a/backend/src/plugins/InternalPoster/functions/getOrCreateWebhookForChannel.ts +++ b/backend/src/plugins/InternalPoster/functions/getOrCreateWebhookForChannel.ts @@ -1,6 +1,6 @@ import { GuildPluginData } from "knub"; import { InternalPosterPluginType } from "../types"; -import { AnyChannel, GuildChannel, MessageManager, NewsChannel, Permissions, TextChannel } from "discord.js"; +import { AnyChannel, GuildChannel, MessageManager, NewsChannel, Permissions, TextChannel, ThreadChannel } from "discord.js"; import { isDiscordAPIError } from "../../../utils"; type WebhookInfo = [id: string, token: string];