FIxed self.auth(user) to self.auth(u)

# Conflicts:
#	modules/errors/__init__.py
This commit is contained in:
Le Codex 2020-04-05 21:18:56 +02:00 committed by Suwako Moriya
parent d5421cf64c
commit 05aed7f226
Signed by: SuwakoMmh
GPG Key ID: A27482B806F13CD5

View File

@ -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: