fix: add execution id to footer in error embeds

This commit is contained in:
Marius Begby committed 2023-08-26 17:57:22 +02:00
1 parent a04d0aeb5b
commit 82ab8c9387
9 files changed
+35 -17

No files matched your search

@@ -100,6 +100,7 @@ module.exports = {
`**${embedOptions.icons.error} Uh-oh... _Something_ went wrong!**\nThere was an unexpected error while trying to execute this command.\n\nYou can try to perform the command again.\n\n_If this problem persists, please submit a bug report in the **[support server](${botOptions.serverInviteUrl})**._`
)
.setColor(embedOptions.colors.error)
.setFooter({ text: `Execution ID: ${executionId}` })
]
});
} else {
@@ -111,6 +112,7 @@ module.exports = {
`**${embedOptions.icons.error} Uh-oh... _Something_ went wrong!**\nThere was an unexpected error while trying to execute this command.\n\nYou can try to perform the command again.\n\n_If this problem persists, please submit a bug report in the **[support server](${botOptions.serverInviteUrl})**._`
)
.setColor(embedOptions.colors.error)
.setFooter({ text: `Execution ID: ${executionId}` })
]
});
}