fixed blackface joke
This commit is contained in:
@@ -174,5 +174,5 @@ class Blackface(base.Joke):
|
||||
return re.compile('blackface', re.IGNORECASE)
|
||||
|
||||
async def respond(self, message: Message, client: Client, match: re.Match):
|
||||
if helpers.valid_word(match.group(1)):
|
||||
if helpers.valid_word(match.group(0)):
|
||||
await message.add_reaction(utils.get(client.emojis, name='blackface'))
|
||||
|
||||
Reference in New Issue
Block a user