aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-01 19:41:45 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-01 19:41:45 -0500
commit984d65a8afe63f9677ec17fe2e68ba1ca6563109 (patch)
treeb017afb13690131013fa66eebf4d99197a617d23
parent09da1aff829031fdb3bbfc23b24cd358099c29ef (diff)
downloadtanzanite-984d65a8afe63f9677ec17fe2e68ba1ca6563109.tar.gz
tanzanite-984d65a8afe63f9677ec17fe2e68ba1ca6563109.tar.bz2
tanzanite-984d65a8afe63f9677ec17fe2e68ba1ca6563109.zip
fix userInfo showing None flag
-rw-r--r--src/commands/info/userInfo.ts2
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}\``);
});