More reactions. master
authorCMDR furrycat <elite@furrycat.net>
Sat, 22 May 2021 09:59:50 +0000 (11:59 +0200)
committerCMDR furrycat <elite@furrycat.net>
Sat, 22 May 2021 09:59:50 +0000 (11:59 +0200)
plugins/affection/__init__.py
plugins/o7/__init__.py

index 7f626eb..9308459 100644 (file)
@@ -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))
index 289b61e..6d27e96 100644 (file)
@@ -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'],