From 6acb08e2fb053703da379e45265c60166c6fe5c0 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 17 Sep 2017 05:59:10 +0000 Subject: [PATCH] More --- commands/moderation/clear-channel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/moderation/clear-channel.js b/commands/moderation/clear-channel.js index 94014261..6bd906b5 100644 --- a/commands/moderation/clear-channel.js +++ b/commands/moderation/clear-channel.js @@ -21,6 +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 msg.channel.delete(); return null; }