add BigFan joke

This commit is contained in:
josephrtalley
2022-02-08 21:36:51 -06:00
committed by GitHub
parent 40a27885d6
commit 83e71fc2e9

View File

@@ -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)