Add full sub info to permission errors
Some checks are pending
ptero-push / build (push) Waiting to run
Some checks are pending
ptero-push / build (push) Waiting to run
This commit is contained in:
parent
9f31d18a6f
commit
0227979176
3
index.js
3
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.
|
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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue