aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-08 12:25:35 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-08 12:25:35 -0500
commit0e160ae77477f0986a02746e84158329299f438f (patch)
tree55a70950bae700bbd77ff693aecd1b2cbf0777cf /src/commands/info
parent42eab3390f7e2fcdc020eb1e3d602a46c9f34273 (diff)
downloadtanzanite-0e160ae77477f0986a02746e84158329299f438f.tar.gz
tanzanite-0e160ae77477f0986a02746e84158329299f438f.tar.bz2
tanzanite-0e160ae77477f0986a02746e84158329299f438f.zip
add shared db
Diffstat (limited to 'src/commands/info')
-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 f8c7c68..609bd94 100644
--- a/src/commands/info/userInfo.ts
+++ b/src/commands/info/userInfo.ts
@@ -54,7 +54,7 @@ export default class UserInfoCommand extends BushCommand {
public static async makeUserInfoEmbed(user: BushUser, member?: BushGuildMember, guild?: BushGuild | null) {
const emojis = [];
- const superUsers = client.cache.global.superUsers;
+ const superUsers = util.getShared('superUsers');
const userEmbed: MessageEmbed = new MessageEmbed()
.setTitle(util.discord.escapeMarkdown(user.tag))