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):
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: