feat: better error handling

This commit is contained in:
TresAbhi committed 2023-04-26 23:42:15 +00:00
1 parent c494331470
commit 48241bd0d4
12 files changed
+347 -106

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ export default {
await interaction.reply({
embeds: [
new EmbedBuilder()
.setTitle('Skilled Bot information')
.setTitle('Skilled Bot debug information')
.setColor(SKILLED_COLOR)
.setDescription(
`**Version**: ${packageJSON.version}\n**Uptime**: ${Math.floor(
+2 -2
View File
@@ -23,7 +23,7 @@ export default {
.setTitle('Skilled Bot help')
.setColor(SKILLED_COLOR)
.setDescription(
`**About**\nSkilled Bot provides many useful commands that automate many mundane tasks and provide statistics in just the right may.\Made by TresAbhi from the Skilled [SKLLD] clan.\nGitHub: https://github.com/sklld/bot\nSkilled: ADD THE LINK HERE I FORGOT\n\n**Commands**\n${(interaction.guildId ===
`**About**\nSkilled Bot automates many mundane tasks and provide statistics in many flexible ways.\n\nMade by TresAbhi from the Skilled [SKLLD] clan.\nGitHub: https://github.com/sklld/bot\nSkilled: https://discord.gg/ZPvcEG7DS8\n\n**Commands**\n${(interaction.guildId ===
discord.guild_id
? [...guildCommands, ...publicCommands]
: publicCommands
@@ -31,7 +31,7 @@ export default {
.map((command) => `**/${command.name}**: ${command.description}`)
.join(
'\n',
)})}\n\n*I am a new bot; I may make mistakes and go offline from time to time.*`,
)}\n\n*I am a new bot; I may make mistakes and go offline unexpectedly from time to time.*`,
),
],
});