From: CMDR furrycat Date: Sun, 2 Oct 2016 10:01:38 +0000 (+0100) Subject: Respond to pats. X-Git-Url: http://git.furryclan.net/?a=commitdiff_plain;h=b0cdaa5de14404080150d023d019d9bf7e849158;p=furrycat%2Fcatbot.git Respond to pats. --- diff --git a/bot.py b/bot.py index e0f4e10..593ea7d 100755 --- a/bot.py +++ b/bot.py @@ -386,7 +386,7 @@ def do_commands(message, command, raw, non_admin): rsstime.value = int(m.group(1)) - elif command in ['treat', 'stroke', 'fuss']: + elif command in ['treat', 'stroke', 'fuss', 'pat']: # treat if command == 'treat': responses = ['om nom nom', '^-^', 'meow!', 'lick'] @@ -624,7 +624,7 @@ modules = { 'any': { 'fn': do_commands, 'args': [True], - 'commands': ['bling', 'fuss', 'stroke', 'treat'] + 'commands': ['bling', 'fuss', 'stroke', 'treat', 'pat'] }, 'edi': { 'fn': do_edi,