Error update

This commit is contained in:
Skylar Grant 2023-02-20 14:07:50 -05:00
parent 6fe4456513
commit 30c43ee0cf

View File

@ -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)); 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 { } 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; break;
default: default: