diff --git a/kwaylon/jokes/jokes.py b/src/kwaylon/jokes/jokes.py similarity index 86% rename from kwaylon/jokes/jokes.py rename to src/kwaylon/jokes/jokes.py index dd03bdc..354e6d5 100644 --- a/kwaylon/jokes/jokes.py +++ b/src/kwaylon/jokes/jokes.py @@ -44,6 +44,18 @@ class CumJoke(base.Joke): await message.add_reaction(utils.get(client.emojis, name='kaylon')) +class ChocolateJoke(base.Joke): + @property + def regex(self) -> re.Pattern: + return re.compile(f'(?:dark )?chocolate', re.IGNORECASE) + + async def respond(self, message: Message, client: Client, match: re.Match): + await message.add_reaction(utils.get(client.emojis, name='jake')) + if 'dark' in match.group(): + await message.reply( + f'https://tenor.com/view/j-alexander-antm-americas-next-top-model-clutches-pearls-clutch-neck-gif-21070072') + + class BlackJoke(base.Joke): @property def regex(self) -> re.Pattern: