aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-03 19:57:46 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-03 19:57:46 -0400
commit939f19c1a8a7efea00fc3df3504a41fc58a3b286 (patch)
tree7807524c5bb26c7616e50e09435f192649e51f1b /src/commands
parentaeba835858f3426c5de31434b5d1f4056606a828 (diff)
downloadtanzanite-939f19c1a8a7efea00fc3df3504a41fc58a3b286.tar.gz
tanzanite-939f19c1a8a7efea00fc3df3504a41fc58a3b286.tar.bz2
tanzanite-939f19c1a8a7efea00fc3df3504a41fc58a3b286.zip
fix some jank
Diffstat (limited to 'src/commands')
-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