Corrected the event to wait for
This commit is contained in:
parent
d9c654f73d
commit
2852576250
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue