aboutsummaryrefslogtreecommitdiff
path: root/src/commands/leveling/setLevel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/leveling/setLevel.ts')
-rw-r--r--src/commands/leveling/setLevel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/leveling/setLevel.ts b/src/commands/leveling/setLevel.ts
index 5eb97b7..108b5d2 100644
--- a/src/commands/leveling/setLevel.ts
+++ b/src/commands/leveling/setLevel.ts
@@ -67,7 +67,7 @@ export default class SetLevelCommand extends BushCommand {
guild: message.guild.id
}
});
- await levelEntry.update({ xp: Level.convertLevelToXp(level) });
+ await levelEntry.update({ xp: Level.convertLevelToXp(level), user: user.id, guild: message.guild.id });
return await message.util.send({
content: `Successfully set level of <@${
user.id