better error handling

This commit is contained in:
SowinskiBraeden committed 2022-08-27 20:14:21 -07:00
1 parent ea799693de
commit 28b73e3a8f
14 files changed
+160 -157

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ module.exports = {
const channel = interaction.guild.channels.cache.find(channel => channel.id === GuildDB.actionChannel);
if (!channel) {
const embed = new EmbedBuilder()
.setDescriptions(`**Internal Error:** ${err}\nThe channel may have been deleted\nContact the Developers\nhttps://discord.gg/YCXhvy9uZw`)
.setDescription(`**Internal Error:** ${err}\nThe channel may have been deleted\nContact the Developers\nhttps://discord.gg/YCXhvy9uZw`)
.setColor(client.config.Colors.Red)
return interaction.send({ embeds: [embed] });