From d36939b81ca557cabf22b9e11c2fd7174036f71b Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Sun, 11 Jun 2023 01:10:34 +0200 Subject: [PATCH] lowercase query --- commands/message/core/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/message/core/help.js b/commands/message/core/help.js index be8760f..2759a5f 100644 --- a/commands/message/core/help.js +++ b/commands/message/core/help.js @@ -113,7 +113,7 @@ module.exports = { let results = [] for(const c of context.commandClient.commands){ - if(c.name.includes(args.command) || c.aliases.filter((f)=>{return f.includes(args.command)}).length >= 1){ + if(c.name.includes(args.command.toLowerCase()) || c.aliases.filter((f)=>{return f.includes(args.command.toLowerCase())}).length >= 1){ if(c.metadata.explicit && !context.channel.nsfw) continue; results.push(c) }