fixed book... maybe.
This commit is contained in:
parent
7344187eb1
commit
61e774bc5a
@ -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()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user