help in channel message now works regardless of case

doc_update
Joey Hines 2018-09-16 22:52:04 -05:00
parent e2e943f22c
commit 446adfa6dc
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class GeoffreyBot(commands.Bot):
logger.info("User %s, used command %s%s with context: %s", ctx.message.author, ctx.command, subcommand, logger.info("User %s, used command %s%s with context: %s", ctx.message.author, ctx.command, subcommand,
ctx.args) ctx.args)
if ctx.invoked_with == 'help': if ctx.invoked_with.lower() == 'help':
await ctx.send("{}, I sent you some help in the DMs.".format(ctx.message.author.mention)) await ctx.send("{}, I sent you some help in the DMs.".format(ctx.message.author.mention))
async def on_command_error(self, ctx, error): async def on_command_error(self, ctx, error):