utility.presence: fix try 2

This commit is contained in:
Cynthia Foxwell 2023-01-22 13:26:40 -07:00
parent 31db6f8408
commit 3f08e9aeb0

View file

@ -710,7 +710,7 @@ presence.callback = async function (msg, line) {
}
if (target) {
if (!target.presence) return `**${target.username}#${target.discriminator}** is offline.`;
if (!target.clientStatus) return `**${target.username}#${target.discriminator}** is offline.`;
let icons = "";
for (const platform of Object.keys(target.clientStatus)) {