From 2a20357d80b4d0ce7d47dc90c65fe6776cdfa683 Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Thu, 6 Apr 2017 14:14:22 +0100 Subject: [PATCH] Drugs! --- plugin/affection/affection.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugin/affection/affection.py b/plugin/affection/affection.py index cda817b..481a594 100644 --- a/plugin/affection/affection.py +++ b/plugin/affection/affection.py @@ -5,15 +5,16 @@ import bot class Affection(object): def __init__(self): - self.eat = ['biscuit', 'catnip', 'food', 'fish', 'lollipop', 'sausage', 'treat'] + self.eat = ['biscuit', 'food', 'fish', 'lollipop', 'sausage', 'treat'] self.drink = ['beer', 'juice', 'milk', 'water'] + self.drugs = ['catnip', 'onionhead'] self.fuss = ['fuss', 'hug', 'love', 'nice', 'pat', 'pet', 'stroke'] def description(self): return 'Respond (or not) to displays of affection.' def secret_commands(self): - return self.eat + self.drink + self.fuss + return self.eat + self.drink + self.drugs + self.fuss @asyncio.coroutine def handle_command(self, message, command, raw): @@ -39,6 +40,8 @@ class Affection(object): responses = ['om nom nom', '^-^', 'meow!', 'lick', ':cat:', ':fork_and_knife:'] elif command in self.drink: responses = ['slurp', '^-^', 'meow!', 'lap lap lap', 'lick', ':cat:', ':tropical_drink:'] + elif command in self.drugs: + responses = ['>(@.@)<'] else: responses = ['nuzzle', '^-^', 'meow!', 'mrrp', ':cat:', ':paw_prints:'] for response in responses: -- 2.7.4