From 0227979176c4840ad97f1f94112b81c475d0bfe9 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 12 Jan 2025 03:18:24 -0700 Subject: [PATCH] Add full sub info to permission errors --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index f0e0840..dd1ed07 100644 --- a/index.js +++ b/index.js @@ -483,7 +483,8 @@ xmpp.on("stanza", (stanza) => { description: `There is likely an issue with permissions. Please notify the server owner if possible. Guild: ${channel.guild.name} (${channel.guild.id}) Channel: ${channel.name} (${channel.id}) - Guild Owner: <@${channel.guild.ownerId}> (${channel.guild.ownerId})`, + Guild Owner: <@${channel.guild.ownerId}> (${channel.guild.ownerId}) + Sub Info: \`\`\`json\n${JSON.stringify(row)}\`\`\``, color: 0xff0000 } ]