From 30c43ee0cf43e9802aee77fd3fb7711072e434da Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Mon, 20 Feb 2023 14:07:50 -0500 Subject: [PATCH] Error update --- slash-commands/setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slash-commands/setup.js b/slash-commands/setup.js index 5e5cbae..ac1c0fa 100755 --- a/slash-commands/setup.js +++ b/slash-commands/setup.js @@ -114,7 +114,7 @@ module.exports = { await interaction.editReply(fn.builders.embed("You must select 'true' to confirm setup reset. No changes have been made.")).catch(e => console.error(e)); } } else { - throw "Guild doesn't exist in database!"; + await interaction.editReply(fn.builders.errorEmbed("There is no configuration to delete.")).catch(e => console.error(e)); } break; default: