From 0e160ae77477f0986a02746e84158329299f438f Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sat, 8 Jan 2022 12:25:35 -0500 Subject: add shared db --- src/commands/info/userInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/info') 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)) -- cgit