Make embed smaller
Some checks are pending
ptero-push / build (push) Waiting to run

This commit is contained in:
Christopher Cookman 2025-01-12 03:04:09 -07:00
parent 00f97fd6e6
commit 96912d325a

View file

@ -480,42 +480,11 @@ xmpp.on("stanza", (stanza) => {
embeds: [
{
title: "Failed to send message",
description: `There is likely an issue with permissions. Please notify the server owner if possible.`,
fields: [
{
name: "Guild",
value: `${channel.guild.name} (\`${channel.guild.id}\`)`
},
{
name: "Channel",
value: `<#${channel.id}> (\`${channel.id}\`)`
},
{
name: "Guild Owner",
value: `<@${channel.guild.ownerId}> (\`${channel.guild.ownerId}\`)`
},
{
name: "Subscribed Room",
value: `\`${fromChannel}\``
},
{
name: "Custom Message",
value: row.custommessage || "None"
},
{
name: "Filter",
value: row.filter || "None"
},
{
name: "Event Filter",
value: row.filterEvt || "None"
},
{
name: "Minimum Priority",
value: row.minPriority || "None"
}
],
color: 0x00ff00
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.owner.user.username} (${channel.guild.owner.user.id})`,
color: 0xff0000
}
]
});