From 67731fae02a650ba8f0b98aa3ee49c36b328bb28 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 17 Sep 2017 06:01:46 +0000 Subject: [PATCH] ? --- commands/moderation/clear-channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/moderation/clear-channel.js b/commands/moderation/clear-channel.js index 6bd906b5..82b2c660 100644 --- a/commands/moderation/clear-channel.js +++ b/commands/moderation/clear-channel.js @@ -21,7 +21,7 @@ module.exports = class ClearChannelCommand extends Command { if (!msg.channel.deletable) return msg.say('This channel cannot be deleted.'); const channel = await msg.channel.clone(); if (msg.channel.parent) await channel.setParent(msg.channel.parent); - await channel.setPosition(msg.channel.rawPosition); + await channel.setPosition(msg.channel.position); await msg.channel.delete(); return null; }