From b756b2ce1f6c6997986193c23c3ed26c1e8ca7d3 Mon Sep 17 00:00:00 2001 From: Aleteoryx Date: Tue, 28 Oct 2025 13:27:33 -0400 Subject: [PATCH] make it a bit less of an ass, more --- dee.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dee.py b/dee.py index 90ffd94924589250127565c32824f6dc706ebcd1..b02ea11d2e7409207bb5f86f458b868d8299ff71 100755 --- a/dee.py +++ b/dee.py @@ -46,6 +46,8 @@ def handle_msg(nick, line, words, pwords): if cmd == 'help': help(nick) + elif cmd not in ('roll', 'pick', 'shuf', 'shuffle'): + send(f'{nick}, I don\'t know how to do that! My help is at {MAN}') elif len(pwords) < 1: send(f'{nick}, {cmd} what?') elif cmd == 'roll': @@ -54,8 +56,7 @@ def handle_msg(nick, line, words, pwords): pick(nick, words, pwords) elif cmd in ('shuf', 'shuffle'): shuf(nick, words, pwords) - else: - send(f'{nick}, I don\'t know how to do that! My help is at {MAN}') + def handle_action(line, words, pwords): pass @@ -158,7 +159,7 @@ def parse_dice(nick, words): return count, last_dice, offset - raise DiceParseException(f'roll what?') + raise DiceParseException(f'I don\'t know how to roll that!') def dice(nick, words, pwords): result = nick