fixing stupid bugs

This commit is contained in:
codepupper 2019-11-13 22:12:14 +01:00
parent 7022efebb8
commit 54fff51e97
17 changed files with 124 additions and 121 deletions

View file

@ -80,6 +80,7 @@ module.exports = class Help extends Command {
(c) =>
c.name == ctx.args[0].toLowerCase() || (c.aliases && c.aliases.includes(ctx.args[0].toLowerCase()))
);
console.log(command);
let fields = [
{
@ -108,7 +109,6 @@ module.exports = class Help extends Command {
inline: true
}
];
if (!command)
return ctx.send(`That command couldn't be found. See the \`help\` command for valid commands.`);