diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-01 19:41:45 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-01 19:41:45 -0500 |
commit | 984d65a8afe63f9677ec17fe2e68ba1ca6563109 (patch) | |
tree | b017afb13690131013fa66eebf4d99197a617d23 /src/commands | |
parent | 09da1aff829031fdb3bbfc23b24cd358099c29ef (diff) | |
download | tanzanite-984d65a8afe63f9677ec17fe2e68ba1ca6563109.tar.gz tanzanite-984d65a8afe63f9677ec17fe2e68ba1ca6563109.tar.bz2 tanzanite-984d65a8afe63f9677ec17fe2e68ba1ca6563109.zip |
fix userInfo showing None flag
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/info/userInfo.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/info/userInfo.ts b/src/commands/info/userInfo.ts index 66eabe1..a129182 100644 --- a/src/commands/info/userInfo.ts +++ b/src/commands/info/userInfo.ts @@ -67,7 +67,7 @@ export default class UserInfoCommand extends BushCommand { const flags = user.flags?.toArray(); if (flags) { flags.forEach((f) => { - if (client.consts.mappings.userFlags[f]) { + if (client.consts.mappings.userFlags[f] !== undefined) { emojis.push(client.consts.mappings.userFlags[f]); } else emojis.push(`\`${f}\``); }); |