help in channel message now works regardless of case
parent
e2e943f22c
commit
446adfa6dc
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue