feat: fix typo in name and add isThreadChannel

This commit is contained in:
Skillz4Killz
2021-06-17 18:13:54 +00:00
committed by GitHub
parent 2d004ba156
commit d1b4ee8047
5 changed files with 13 additions and 19 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export async function sendMessage(channelId: bigint, content: string | CreateMes
DiscordChannelTypes.GuildNews,
DiscordChannelTypes.GuildText,
DiscordChannelTypes.GuildPublicThread,
DiscordChannelTypes.GuildPivateThread,
DiscordChannelTypes.GuildPrivateThread,
DiscordChannelTypes.GuildNewsThread,
].includes(channel.type)
) {