async def paginate(self):
        """Actually paginate the entries and run the interactive loop if necessary."""
        await self.show_page(1, first=True)

        while self.paginating:
            react = await self.bot.wait_for_reaction(message=self.message, check=self.react_check, timeout=120.0)
            if react is None:
                self.paginating = False
                try:
                    await self.bot.clear_reactions(self.message)
                except:
                    pass
                finally:
                    break

            try:
                await self.bot.remove_reaction(self.message, react.reaction.emoji, react.user)
            except:
                pass # can't remove it so don't bother doing so

            await self.match()
async def paginate ( self ) : await self . show_page ( 1 , first = True ) while self . paginating : react = await self . bot . wait_for_reaction ( message = self . message , check = self . react_check , timeout = 120.0 ) if react is None : self . paginating = False try : await self . bot . clear_reactions ( self . message ) except : pass finally : break try : await self . bot . remove_reaction ( self . message , react . reaction . emoji , react . user ) except : pass await self . match ( )
Actually paginate the entries and run the interactive loop if necessary.