Skip to content

Commit

Permalink
fix: use activeOption for identifying missing handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirasaki committed Apr 22, 2023
1 parent 7d5350e commit 6d454a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listeners/interaction/autoCompleteInteraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = async (client, interaction) => {

// Check if a query handler is found
if (!autoCompleteQueryHandler) {
logger.syserr(`Missing AutoComplete query handler for ${ commandName }`);
logger.syserr(`Missing AutoComplete query handler for the "${ activeOption }" option in the ${ commandName } command`);
return;
}

Expand Down

0 comments on commit 6d454a9

Please sign in to comment.