diff --git a/core/main.py b/core/main.py index 4ff39b3..51f8759 100644 --- a/core/main.py +++ b/core/main.py @@ -111,7 +111,8 @@ def dispatch(input, kind, func, args, autohelp=False): if input == None: return - if autohelp and args.get('autohelp', True) and not input.inp: + if autohelp and args.get('autohelp', True) and not input.inp \ + and func.__doc__ is not None: input.reply(func.__doc__) return