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:
|
||||
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(
|
||||
user))
|
||||
u: r.emoji == "🗑️" and not u.bot and self.auth(u))
|
||||
except asyncio.TimeoutError:
|
||||
await message.delete()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user