From 05aed7f226729f501ab95a88b1dac65a02080311 Mon Sep 17 00:00:00 2001 From: Le Codex <40335983+LeCodex@users.noreply.github.com> Date: Sun, 5 Apr 2020 21:18:56 +0200 Subject: [PATCH] FIxed self.auth(user) to self.auth(u) # Conflicts: # modules/errors/__init__.py --- modules/errors/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/errors/__init__.py b/modules/errors/__init__.py index 68d9b40..feb6c06 100644 --- a/modules/errors/__init__.py +++ b/modules/errors/__init__.py @@ -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: