diff --git a/src/modules/utility/userinfo.js b/src/modules/utility/userinfo.js index d1b0073..4d23bbf 100644 --- a/src/modules/utility/userinfo.js +++ b/src/modules/utility/userinfo.js @@ -95,7 +95,7 @@ userinfo.callback = async function (msg, line) { let guild, member; if (msg.guildID) { guild = msg.channel.guild ?? hf.bot.guilds.get(msg.guildID); - member = guild.members.get(id); + member = guild?.members?.get(id); } if (Date.now() > vencordFetch) {