Fix: !help [module_name] args check off by one

This commit is contained in:
gammafn 2021-04-24 21:54:54 -05:00
parent 3754423848
commit ce0b9a7ccd
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class MatrixModule(BotModule):
await bot.send_text(room, f'Not a !help setting: {args[0]}')
if len(args) > 1:
if len(args) == 1:
msg = ''
modulename = args.pop(0)
moduleobject = bot.modules.get(modulename)