aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-03-12 18:45:41 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-03-12 18:45:41 -0500
commit70f32554d76dc654616438de411bc7ec613ffd68 (patch)
treec3b26dbb5e8077e3ab1c70473a963ca0701b79f4 /src/commands
parent9e8e5aee80159730ec1d631acb5c3a1e581f1d69 (diff)
downloadtanzanite-70f32554d76dc654616438de411bc7ec613ffd68.tar.gz
tanzanite-70f32554d76dc654616438de411bc7ec613ffd68.tar.bz2
tanzanite-70f32554d76dc654616438de411bc7ec613ffd68.zip
fix(LevelRolesCommand): log moderator
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/leveling/levelRoles.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/leveling/levelRoles.ts b/src/commands/leveling/levelRoles.ts
index c15ebcb..5ae9981 100644
--- a/src/commands/leveling/levelRoles.ts
+++ b/src/commands/leveling/levelRoles.ts
@@ -86,7 +86,7 @@ export default class LevelRolesCommand extends BushCommand {
}
Object.freeze(newRoles);
- const success = await message.guild.setSetting('levelRoles', newRoles).catch(() => false);
+ const success = await message.guild.setSetting('levelRoles', newRoles, message.member).catch(() => false);
if (!success) return await message.util.reply(`${util.emojis.error} An error occurred while setting the level roles.`);