@@ -158,3 +158,11 @@ class GoodBot(base.Joke):
|
|||||||
async def respond(self, message: Message, client: Client, match: re.Match):
|
async def respond(self, message: Message, client: Client, match: re.Match):
|
||||||
if helpers.valid_word(match.group(1)):
|
if helpers.valid_word(match.group(1)):
|
||||||
await message.add_reaction(utils.get(client.emojis, name='kaylon'))
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user