From 0f3729055c3deafcbfc6da81209a99d9440a2562 Mon Sep 17 00:00:00 2001 From: Luke Cotton Date: Wed, 8 Jan 2025 16:18:36 +0000 Subject: [PATCH] commands(iam): flip bot text response logic Fixes: https://github.com/TheBastionBot/Bastion/issues/1075 --- src/commands/iam.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/iam.ts b/src/commands/iam.ts index d676f892e..08475290a 100644 --- a/src/commands/iam.ts +++ b/src/commands/iam.ts @@ -48,7 +48,7 @@ class IamCommand extends Command { await interaction.member.roles.add(role); } - return await interaction.editReply((interaction.client as Client).locales.getText(interaction.guildLocale, interaction.member.roles.cache.has(role.id) ? "selfRoleUnassign" : "selfRoleAssign", { role: role })); + return await interaction.editReply((interaction.client as Client).locales.getText(interaction.guildLocale, interaction.member.roles.cache.has(role.id) ? "selfRoleAssign" : "selfRoleUnassign", { role: role })); } return await interaction.editReply({