From 83e71fc2e9d312c2843f398e7979ca479ad4dcbe Mon Sep 17 00:00:00 2001 From: josephrtalley Date: Tue, 8 Feb 2022 21:36:51 -0600 Subject: [PATCH] add BigFan joke --- src/kwaylon/jokes/jokes.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/kwaylon/jokes/jokes.py b/src/kwaylon/jokes/jokes.py index 98240a1..4af887b 100644 --- a/src/kwaylon/jokes/jokes.py +++ b/src/kwaylon/jokes/jokes.py @@ -158,3 +158,11 @@ class GoodBot(base.Joke): async def respond(self, message: Message, client: Client, match: re.Match): if helpers.valid_word(match.group(1)): await message.add_reaction(utils.get(client.emojis, name='kaylon')) + + +class BigFan(base.GifJoke): + url = 'https://c.tenor.com/qgrHA6RFg4EAAAAC/electric-fan-wind.gif' + + @property + def regex(self) -> re.Pattern: + return re.compile('big fan', re.IGNORECASE)