fixed book... maybe.

This commit is contained in:
Dusty.P 2018-06-06 23:01:50 -08:00
parent 7344187eb1
commit 61e774bc5a

View File

@ -259,9 +259,9 @@ class Book:
async def reaction_checker():
def check(reaction, user):
if self._locked:
return str(reaction.emoji) in self._bot.book_emojis and user == self._calling_message.author
return str(reaction.emoji) in self._bot.book_emojis.values() and user == self._calling_message.author
else:
return str(reaction.emoji) in self._bot.book_emojis
return str(reaction.emoji) in self._bot.book_emojis.values()
await self.display_page()