From 929e095f9b20f42c2d2c0de02176394df2393f43 Mon Sep 17 00:00:00 2001 From: Sakimori Date: Sun, 27 Dec 2020 03:21:48 -0500 Subject: [PATCH] fixed the reaction remove --- the_prestige.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/the_prestige.py b/the_prestige.py index 22e1c43..e23ad70 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -641,10 +641,10 @@ async def team_pages(msg, all_teams, search_term=None): react, user = await client.wait_for('reaction_add', timeout=60.0, check=react_check) if react.emoji == "◀" and current_page > 0: current_page -= 1 - react.remove(user) + await react.remove(user) elif react.emoji == "▶" and current_page < (page_max-1): current_page += 1 - react.remove(user) + await react.remove(user) await teams_list.edit(embed=pages[current_page]) except asyncio.TimeoutError: return