fixed book... maybe.

release-1.0.0
DustyP 8 years ago
parent 7344187eb1
commit 61e774bc5a

@ -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()

Loading…
Cancel
Save