utility.presence: fix no text custom status

This commit is contained in:
Cynthia Foxwell 2022-10-10 19:46:09 -06:00
parent 5e2379919c
commit 1a4bc75bd0

View file

@ -739,7 +739,7 @@ presence.callback = async function (msg, line) {
}
embeds.push({
title: `${emote} ${activity.state}`,
title: `${emote} ${activity.state ?? ""}`,
});
} else {
const embed = {