aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/userInfo.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-28 20:21:34 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-28 20:21:34 -0500
commit78ab3362a52578d0bcada903732f147747c609df (patch)
tree6b848fbb3aed633d9177d6128921c975bdecb1c5 /src/commands/info/userInfo.ts
parent9e1713721d9f46ef1d847b685dedd7f1016f87c0 (diff)
downloadtanzanite-78ab3362a52578d0bcada903732f147747c609df.tar.gz
tanzanite-78ab3362a52578d0bcada903732f147747c609df.tar.bz2
tanzanite-78ab3362a52578d0bcada903732f147747c609df.zip
snowflake channel type reverse enm map
Diffstat (limited to 'src/commands/info/userInfo.ts')
-rw-r--r--src/commands/info/userInfo.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/commands/info/userInfo.ts b/src/commands/info/userInfo.ts
index b8d97a8..2f35770 100644
--- a/src/commands/info/userInfo.ts
+++ b/src/commands/info/userInfo.ts
@@ -78,7 +78,9 @@ export default class UserInfoCommand extends BushCommand {
Number(user.discriminator) < 10 ||
client.consts.mappings.maybeNitroDiscrims.includes(user.discriminator) ||
user.displayAvatarURL()?.endsWith('.gif') ||
- user.flags?.has(UserFlags.FLAGS.PARTNER)
+ user.flags?.has(UserFlags.FLAGS.PARTNER) ||
+ user.flags?.has(UserFlags.FLAGS.STAFF) ||
+ member?.avatar // server avatar
) {
emojis.push(client.consts.mappings.otherEmojis.Nitro);
}