Skip to content

Commit

Permalink
commands(iam): flip bot text response logic
Browse files Browse the repository at this point in the history
  • Loading branch information
cotton105 committed Jan 8, 2025
1 parent cdaa78f commit 0f37290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/iam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 0f37290

Please sign in to comment.