From 7a4fad8a37cc72b97a3217d6d66d07d2cfed4d17 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sat, 7 Oct 2023 23:05:19 -0600 Subject: [PATCH] utility.presence: add app id field --- src/modules/utility.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/utility.js b/src/modules/utility.js index 26e8163..e802932 100644 --- a/src/modules/utility.js +++ b/src/modules/utility.js @@ -1234,6 +1234,13 @@ presence.callback = async function (msg, line) { }); } + if (activity.application_id) { + embed.fields.push({ + name: "Application ID", + value: `\`${activity.application_id}\``, + }); + } + embed.description = descLines.join("\n"); if (activity.assets) {