diff options
Diffstat (limited to 'modules/ping.py')
-rwxr-xr-x | modules/ping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ping.py b/modules/ping.py index 97e41e1..23219ac 100755 --- a/modules/ping.py +++ b/modules/ping.py @@ -11,7 +11,7 @@ def hello(phenny, input): greeting = random.choice(('Hi', 'Hey', 'Hello')) punctuation = random.choice(('', '!')) phenny.say(greeting + ' ' + input.nick + punctuation) -hello.rule = r'(?i)(hi|hello|hey) $nickname\b' +hello.rule = r'(?i)(hi|hello|hey) $nickname[ \t]*$' def interjection(phenny, input): phenny.say(input.nick + '!') |