1
0
Fork 0
mirror of synced 2024-06-03 11:14:33 +12:00

Corrected the event to wait for

This commit is contained in:
phxntxm 2017-03-07 17:32:40 -06:00
parent d9c654f73d
commit 2852576250

View file

@ -185,7 +185,7 @@ class Pages:
await self.show_page(start_page, first=True) await self.show_page(start_page, first=True)
while self.paginating: while self.paginating:
react = await self.bot.wait_for('reaction', check=self.react_check, timeout=120.0) react = await self.bot.wait_for('reaction_add', check=self.react_check, timeout=120.0)
if react is None: if react is None:
self.paginating = False self.paginating = False
try: try: