@@ -167,3 +167,12 @@ class BigFan(base.GifJoke):
|
|||||||
@property
|
@property
|
||||||
def regex(self) -> re.Pattern:
|
def regex(self) -> re.Pattern:
|
||||||
return re.compile('big fan', re.IGNORECASE)
|
return re.compile('big fan', re.IGNORECASE)
|
||||||
|
|
||||||
|
class Blackface(base.Joke):
|
||||||
|
@property
|
||||||
|
def regex(self) -> re.Pattern:
|
||||||
|
return re.compile('blackface', re.IGNORECASE)
|
||||||
|
|
||||||
|
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='blackface'))
|
||||||
|
|||||||
Reference in New Issue
Block a user