diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-08 16:02:51 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-08 16:02:51 -0400 |
commit | b6d1ac9a60e8b8a967ef3e93b92b9748d1f637f9 (patch) | |
tree | da1b870adc36a1a114d4c61d7695e034fd5abd79 /src/commands/leveling/level.ts | |
parent | f366181069e1fd4daf7cf379d10c44c25fad84c2 (diff) | |
download | tanzanite-b6d1ac9a60e8b8a967ef3e93b92b9748d1f637f9.tar.gz tanzanite-b6d1ac9a60e8b8a967ef3e93b92b9748d1f637f9.tar.bz2 tanzanite-b6d1ac9a60e8b8a967ef3e93b92b9748d1f637f9.zip |
fix support threads, allow 0 for abreviated numbers, fix accent colors
Diffstat (limited to 'src/commands/leveling/level.ts')
-rw-r--r-- | src/commands/leveling/level.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/leveling/level.ts b/src/commands/leveling/level.ts index 223a590..f14c005 100644 --- a/src/commands/leveling/level.ts +++ b/src/commands/leveling/level.ts @@ -60,6 +60,7 @@ export default class LevelCommand extends BushCommand { const currentLevelXP = Level.convertLevelToXp(userLevel); const currentLevelXPProgress = userLevelRow.xp - currentLevelXP; const xpForNextLevel = Level.convertLevelToXp(userLevelRow.level + 1) - currentLevelXP; + await user.fetch(true); // get accent color const white = '#FFFFFF', gray = '#23272A', highlight = user.hexAccentColor ?? '#5865F2'; |