From aafe7ec71c94d2434537f76f08e64486f332de9f Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Wed, 28 Sep 2016 15:49:10 +0100 Subject: [PATCH] Respond to strokes. --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 664e681..f144909 100755 --- a/bot.py +++ b/bot.py @@ -283,7 +283,7 @@ def do_commands(message, command, raw, non_admin): rsstime = int(m.group(1)) - elif command == 'treat': + elif command == 'treat' or command == 'stroke': # treat for response in ['om nom nom', '^-^', 'meow!', 'lick']: said = yield from maybe_say(message.channel, response) @@ -447,7 +447,7 @@ modules = { 'any': { 'fn': do_commands, 'args': [True], - 'commands': ['bling', 'treat'] + 'commands': ['bling', 'stroke', 'treat'] }, 'edi': { 'fn': do_edi, -- 2.7.4