Add full sub info to permission errors
Some checks are pending
ptero-push / build (push) Waiting to run

This commit is contained in:
Christopher Cookman 2025-01-12 03:18:24 -07:00
parent 9f31d18a6f
commit 0227979176

View file

@ -483,7 +483,8 @@ xmpp.on("stanza", (stanza) => {
description: `There is likely an issue with permissions. Please notify the server owner if possible. description: `There is likely an issue with permissions. Please notify the server owner if possible.
Guild: ${channel.guild.name} (${channel.guild.id}) Guild: ${channel.guild.name} (${channel.guild.id})
Channel: ${channel.name} (${channel.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 color: 0xff0000
} }
] ]