From 96912d325a33bf56fb169cf15876d88de93f6042 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 12 Jan 2025 03:04:09 -0700 Subject: [PATCH] Make embed smaller --- index.js | 41 +++++------------------------------------ 1 file changed, 5 insertions(+), 36 deletions(-) diff --git a/index.js b/index.js index 9ee74e7..52ac0eb 100644 --- a/index.js +++ b/index.js @@ -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 } ] });