converted commands to classes

This commit is contained in:
Marius Begby committed 2023-08-31 13:22:28 +02:00
1 parent 335f4bb84e
commit d81fc1d2e7
35 files changed
+618 -768

No files matched your search

+4 -4
View File
@@ -31,9 +31,9 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
`**${embedOptions.icons.error} Uh-oh... _Something_ went wrong!**\nIt seems there was an issue related to the queue or current track.\n\nIf you performed a command, you can try again.\n\n_If this problem persists, please submit a bug report in the **[support server](${botOptions.serverInviteUrl})**._`
`**${this.embedOptions.icons.error} Uh-oh... _Something_ went wrong!**\nIt seems there was an issue related to the queue or current track.\n\nIf you performed a command, you can try again.\n\n_If this problem persists, please submit a bug report in the **[support server](${this.botOptions.serverInviteUrl})**._`
)
.setColor(embedOptions.colors.error)
.setColor(this.embedOptions.colors.error)
.setFooter({ text: `Execution ID: ${executionId}` })
]
});
@@ -47,10 +47,10 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
`${embedOptions.icons.error} **player.events.on('error')**\nExecution id: ${executionId}\n${error.message}` +
`${this.embedOptions.icons.error} **player.events.on('error')**\nExecution id: ${executionId}\n${error.message}` +
`\n\n<@${systemOptions.systemUserId}>`
)
.setColor(embedOptions.colors.error)
.setColor(this.embedOptions.colors.error)
.setFooter({ text: `Execution ID: ${executionId}` })
]
});