fixed book... maybe.

This commit is contained in:
Dusty.P
2018-06-06 23:01:50 -08:00
parent 7344187eb1
commit 61e774bc5a
+2 -2
View File
@@ -259,9 +259,9 @@ class Book:
async def reaction_checker(): async def reaction_checker():
def check(reaction, user): def check(reaction, user):
if self._locked: 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: else:
return str(reaction.emoji) in self._bot.book_emojis return str(reaction.emoji) in self._bot.book_emojis.values()
await self.display_page() await self.display_page()