diff options
Diffstat (limited to 'crocoite')
-rw-r--r-- | crocoite/irc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/irc.py b/crocoite/irc.py index 855d0b0..2e14537 100644 --- a/crocoite/irc.py +++ b/crocoite/irc.py @@ -321,7 +321,7 @@ class ArgparseBot (bottom.Client): except Exception as e: reply (f'{e.args[1]} -- {e.args[0].format_usage ()}') return - if not args: + if not args or not hasattr (args, 'func'): reply (f'Sorry, I don’t understand {command}') return |