From ce0b9a7ccd79bfe06a27985f830718370030bfc1 Mon Sep 17 00:00:00 2001 From: gammafn Date: Sat, 24 Apr 2021 21:54:54 -0500 Subject: [PATCH] Fix: !help [module_name] args check off by one --- modules/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/help.py b/modules/help.py index a633d12..2260f79 100644 --- a/modules/help.py +++ b/modules/help.py @@ -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)