Merge pull request #1 from josephrtalley/master

add BigFan joke
This commit is contained in:
jsl12
2022-02-09 11:18:06 -06:00
committed by GitHub

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)