From 7250d7bb7db6274a85ad96d3beb347f9b8569652 Mon Sep 17 00:00:00 2001 From: ChUrl Date: Sat, 25 Nov 2023 20:12:36 +0100 Subject: [PATCH] Autoreact to kardashian/jenner --- bot.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index dcbb31d..e1e29aa 100644 --- a/bot.py +++ b/bot.py @@ -57,8 +57,9 @@ class HeidiClient(discord.Client): # if the predicate is true the action is performed self.auto_triggers = { # lambda m: m.author.nick.lower() in self.models.get_in_names(): self.autoreact_to_girls, - lambda m: "jeremy" - in m.author.nick.lower(): self._autoreact_to_jeremy + lambda m: "jeremy" in m.author.nick.lower(): self._autoreact_to_jeremy, + lambda m: "kardashian" in m.author.nick.lower() + or "jenner" in m.author.nick.lower(): self._autoreact_to_kardashian, } # Textgen @@ -143,6 +144,13 @@ class HeidiClient(discord.Client): """ await message.add_reaction("🧀") + @staticmethod + async def _autoreact_to_kardashian(message): + """ + 💄 Kardashian + """ + await message.add_reaction("💄") + # ------------------------------------------------------------------------------------------------