From ec1c48ae5f5c20353da9c0051ae6ae293f22ed16 Mon Sep 17 00:00:00 2001 From: ArgontTj Date: Mon, 9 Mar 2026 21:11:50 +0700 Subject: [PATCH] Update admin.js I wanted to make the command move channel without sync with my other categories --- modules/admin-tools/commands/admin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/admin-tools/commands/admin.js b/modules/admin-tools/commands/admin.js index a0d6ecd..d0c9c74 100644 --- a/modules/admin-tools/commands/admin.js +++ b/modules/admin-tools/commands/admin.js @@ -37,7 +37,7 @@ module.exports.subcommands = { content: '⚠️ ' + localize('admin-tools', 'not-category'), ephemeral: true }); - await channel.setParent(category); + await channel.setParent(category, { lockPermissions: false }); interaction.reply({ ephemeral: true, content: localize('admin-tools', 'changed-category', {cat: category.toString(), c: channel.toString()}) @@ -110,4 +110,4 @@ module.exports.config = { ] } ] -}; \ No newline at end of file +};