From 79d72654e2dad151a989d35cc0d5392b4e251fa0 Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Tue, 15 Jul 2025 04:10:07 -0400 Subject: [PATCH] bugfix, this check should only happen in guild mode --- src/commands/aliasCmd/rename.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/aliasCmd/rename.ts b/src/commands/aliasCmd/rename.ts index dd8ec9c..01b6bf6 100644 --- a/src/commands/aliasCmd/rename.ts +++ b/src/commands/aliasCmd/rename.ts @@ -14,7 +14,7 @@ interface QueryShape { } export const rename = async (message: DiscordenoMessage, guildMode: boolean, argSpaces: string[]) => { - if (!guildMode && !(await hasGuildPermissions(message.authorId, message.guildId, ['ADMINISTRATOR']))) { + if (guildMode && !(await hasGuildPermissions(message.authorId, message.guildId, ['ADMINISTRATOR']))) { message .send({ embeds: [