FIxed self.auth(user) to self.auth(u)
# Conflicts: # modules/errors/__init__.py
This commit is contained in:
parent
d5421cf64c
commit
05aed7f226
@ -96,8 +96,7 @@ class MainClass(BaseClassPython):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
reaction, user = await self.client.wait_for('reaction_add', timeout=60.0, check=lambda r,
|
reaction, user = await self.client.wait_for('reaction_add', timeout=60.0, check=lambda r,
|
||||||
u: r.emoji == "🗑️" and not u.bot and self.auth(
|
u: r.emoji == "🗑️" and not u.bot and self.auth(u))
|
||||||
user))
|
|
||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
await message.delete()
|
await message.delete()
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user