Skip to content

Commit 4bbb7f6

Browse files
committed
Check if the reaction message is the same as base message
1 parent 8aa01f4 commit 4bbb7f6

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
@@ -81,7 +81,7 @@ async def show_page(self, index: int):
8181
await self.create_base(page)
8282

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

8686
async def run(self):
8787
if not self.running:

0 commit comments

Comments
 (0)