presence: add platform

This commit is contained in:
Cynthia Foxwell 2025-05-18 14:56:33 -06:00
parent ae0a5c78fa
commit 21c4bc2565
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -239,6 +239,10 @@ presence.callback = async function (msg, line) {
}
}
if (activity.platform) {
descLines.push(`-# Platform: ${activity.platform}`);
}
if (activity.assets?.large_text && activity.type != 2) {
descLines.push("### Large Text", activity.assets.large_text);
}