diff --git a/src/imports/utils.py b/src/imports/utils.py index 0699742..6b7af81 100644 --- a/src/imports/utils.py +++ b/src/imports/utils.py @@ -361,9 +361,11 @@ class Book: def check(reaction, user): if self._locked: return str(reaction.emoji) in self._bot.book_emojis.values() \ - and user == self._calling_message.author and reaction.message == self._message + and user == self._calling_message.author \ + and reaction.message.id == self._message.id else: - return str(reaction.emoji) in self._bot.book_emojis.values() and reaction.message == self._message + return str(reaction.emoji) in self._bot.book_emojis.values() \ + and reaction.message.id == self._message.id await self.display_page()