From db52b0f4167fab706757d901d38bb403f1646e12 Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Sat, 22 May 2021 11:59:50 +0200 Subject: [PATCH] More reactions. --- plugins/affection/__init__.py | 9 +++++++-- plugins/o7/__init__.py | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/affection/__init__.py b/plugins/affection/__init__.py index 7f626eb..9308459 100644 --- a/plugins/affection/__init__.py +++ b/plugins/affection/__init__.py @@ -10,13 +10,14 @@ class Affection(object): self.eat = ['biscuit', 'cookie', 'food', 'fish', 'lollipop', 'marmalade', 'pizza', 'sausage', 'treat'] self.drink = ['beer', 'drink', 'juice', 'milk', 'water'] self.drugs = ['cannabis', 'catnip', 'drugs', 'onionhead', 'thc', 'weed'] - self.fuss = ['fuss', 'hug', 'love', 'meow', 'nice', 'pat', 'pet', 'stroke'] + self.fuss = ['cuddle', 'fuss', 'hug', 'love', 'meow', 'nice', 'pat', 'pet', 'stroke'] + self.scold = ['bad', 'naughty', ':spraypest:'] def description(self): return 'Respond (or not) to displays of affection.' def secret_commands(self): - return self.eat + self.drink + self.drugs + self.fuss + return self.eat + self.drink + self.drugs + self.fuss + self.scold async def handle_command(self, message, command, raw): if command not in self.secret_commands(): @@ -41,6 +42,10 @@ class Affection(object): responses = ['slurp', '=^-^=', 'meow!', 'lap lap lap', 'lick', ':cat:', ':cat2:', ':tropical_drink:'] elif command in self.drugs: responses = ['>(@.@)<'] + elif command in self.fuss: + responses = ['nuzzle', '=^-^=', 'meow!', 'mrrp', ':cat:', ':cat2:', ':paw_prints:', ':smiley_cat:'] + elif command in self.scold: + responses = ['meow!', 'yelp!', 'hiss!', ':pouting_cat:'] else: responses = ['nuzzle', '=^-^=', 'meow!', 'mrrp', ':cat:', ':cat2:', ':paw_prints:', ':smiley_cat:'] said = await bot.maybe_say(message.channel, random.choice(responses)) diff --git a/plugins/o7/__init__.py b/plugins/o7/__init__.py index 289b61e..6d27e96 100644 --- a/plugins/o7/__init__.py +++ b/plugins/o7/__init__.py @@ -8,6 +8,7 @@ class O7(object): RESPONSES = { 'afternoon': ['o7'], 'bruh': ['Bruh!'], + 'brah': ['Bruh!'], 'evening': ['o7'], 'hehe': [':joy_cat:', ':smile_cat:', ':smiley_cat:', 'LOL'], 'hello': ['o7'], -- 2.7.4