aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/role.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/role.ts')
-rw-r--r--src/commands/moderation/role.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/commands/moderation/role.ts b/src/commands/moderation/role.ts
index daa575d..2a67e5b 100644
--- a/src/commands/moderation/role.ts
+++ b/src/commands/moderation/role.ts
@@ -89,10 +89,7 @@ export default class RoleCommand extends BotCommand {
public async exec(
message: Message,
- {
- user,
- role
- }: { user: GuildMember; role: Role }
+ { user, role }: { user: GuildMember; role: Role }
): Promise<unknown> {
if (
!message.member.permissions.has('MANAGE_ROLES') &&
@@ -165,7 +162,7 @@ export default class RoleCommand extends BotCommand {
return message.util.reply(
`<:checkmark:837109864101707807> Successfully removed <@&${role.id}> from <@${user.id}>!`,
{ allowedMentions: AllowedMentions.none() }
- );
+ );
} else {
try {
await user.roles.add(role.id);