aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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.`);