fix changes

This commit is contained in:
ITOH
2021-05-04 21:05:43 +02:00
parent d87d66649e
commit aefd5c75f5
16 changed files with 24 additions and 25 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export async function cloneChannel(channelId: bigint, reason?: string) {
//Check for DM channel
if (
channelToClone.type === DiscordChannelTypes.Dm ||
channelToClone.type === DiscordChannelTypes.DM ||
channelToClone.type === DiscordChannelTypes.GroupDm
) {
throw new Error(Errors.CHANNEL_NOT_IN_GUILD);