Skip to content

Commit 697152b

Browse files
committed
Fix paginator reaction check
1 parent 1e72afd commit 697152b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/paginator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async def show_page(self, index: int):
7878
await self.create_base(page)
7979

8080
def react_check(self, reaction, user):
81-
return reaction.message == self.base and user.id == self.ctx.author.id and reaction.emoji in self.reaction_map.keys()
81+
return reaction.message.id == self.base.id and user.id == self.ctx.author.id and reaction.emoji in self.reaction_map.keys()
8282

8383
async def run(self):
8484
if not self.running:

0 commit comments

Comments
 (0)