From fb73d1b421638ea695eeafeee2215a1e923c4d4a Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 30 Aug 2021 11:09:36 -0400 Subject: leaderboard command and some fixes --- src/commands/config/joinRoles.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/commands/config/joinRoles.ts') diff --git a/src/commands/config/joinRoles.ts b/src/commands/config/joinRoles.ts index 9507d4b..0b9ac21 100644 --- a/src/commands/config/joinRoles.ts +++ b/src/commands/config/joinRoles.ts @@ -40,10 +40,8 @@ export default class JoinRolesCommand extends BushCommand { public override async exec(message: BushMessage | BushSlashMessage, { role }: { role: Role }): Promise { const joinRoles = await message.guild!.getSetting('joinRoles'); const includes = joinRoles.includes(role.id); - client.console.debug(joinRoles); const newValue = util.addOrRemoveFromArray(includes ? 'remove' : 'add', joinRoles, role.id); await message.guild!.setSetting('joinRoles', newValue); - client.console.debug(joinRoles); return await message.util.reply({ content: `${util.emojis.success} Successfully ${includes ? 'removed' : 'added'} <@&${role.id}> ${ includes ? 'from' : 'to' -- cgit