fix: updated logging for validators

This commit is contained in:
Marius Begby committed 2023-08-26 14:39:33 +02:00
1 parent 22109823e1
commit 57fc1e3ee8
23 files changed
+118 -70

No files matched your search

+2 -2
View File
@@ -13,8 +13,8 @@ module.exports = {
.setDescription('Reload the bot commands.')
.setDMPermission(false)
.setNSFW(false),
execute: async ({ interaction, client }) => {
if (await notValidGuildId(interaction)) {
execute: async ({ interaction, client, executionId }) => {
if (await notValidGuildId({ interaction, executionId })) {
logger.debug('Not a valid guild id.');
return;
}