From a6273e685681c52d25805bd101c526603ad87882 Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Wed, 6 Jun 2018 22:59:18 -0800 Subject: [PATCH] Added create_book --- src/imports/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/imports/utils.py b/src/imports/utils.py index 3792b5f..4374d7e 100644 --- a/src/imports/utils.py +++ b/src/imports/utils.py @@ -263,6 +263,8 @@ class Book: else: return str(reaction.emoji) in self._bot.book_emojis + await self.display_page() + while True: try: reaction, user = await self._bot.wait_for('reaction_add', timeout=60, check=check) @@ -290,7 +292,6 @@ class Book: await self._message.remove_reaction(reaction, user) await self.display_page() - await self.display_page() self._bot.loop.create_task(reaction_checker())