diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-03 19:57:46 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-03 19:57:46 -0400 |
commit | 939f19c1a8a7efea00fc3df3504a41fc58a3b286 (patch) | |
tree | 7807524c5bb26c7616e50e09435f192649e51f1b /src/commands/leveling | |
parent | aeba835858f3426c5de31434b5d1f4056606a828 (diff) | |
download | tanzanite-939f19c1a8a7efea00fc3df3504a41fc58a3b286.tar.gz tanzanite-939f19c1a8a7efea00fc3df3504a41fc58a3b286.tar.bz2 tanzanite-939f19c1a8a7efea00fc3df3504a41fc58a3b286.zip |
fix some jank
Diffstat (limited to 'src/commands/leveling')
-rw-r--r-- | src/commands/leveling/setLevel.ts | 2 |
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 |