From 74c0fd0fd1568fe7d6a2cb4b10edd62d65e059e6 Mon Sep 17 00:00:00 2001 From: Isaac Date: Tue, 4 Oct 2022 20:54:48 +0100 Subject: [PATCH] fix auto complete --- src/listeners/autocomplete/run.js | 4 ++-- src/listeners/client/messageCreate.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/listeners/autocomplete/run.js b/src/listeners/autocomplete/run.js index e691629..88bf76e 100644 --- a/src/listeners/autocomplete/run.js +++ b/src/listeners/autocomplete/run.js @@ -10,10 +10,10 @@ module.exports = class extends Listener { } run({ - autocompleter, + completer, interaction, }) { - this.client.log.verbose.autocomplete(`${interaction.user.tag} used the "${autocompleter.id}" autocompleter`); + this.client.log.verbose.autocomplete(`${interaction.user.tag} used the "${completer.id}" autocompleter`); return true; } }; diff --git a/src/listeners/client/messageCreate.js b/src/listeners/client/messageCreate.js index bc739ab..3b393a8 100644 --- a/src/listeners/client/messageCreate.js +++ b/src/listeners/client/messageCreate.js @@ -205,10 +205,10 @@ module.exports = class extends Listener { }); // TODO: staff status alert, working hours alerts - } else { - // TODO: auto tag } + // TODO: auto tag + } } };