mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 14:27:27 +00:00
Fixed mistaken int casting of message
This commit is contained in:
parent
4578cc5375
commit
be0d0916f6
1 changed files with 1 additions and 1 deletions
|
@ -895,7 +895,7 @@ class MsG:
|
|||
|
||||
except exc.GoTo:
|
||||
await paginator.edit(content=f'`{c} / {len(posts)}`')
|
||||
number = int(await self.bot.wait_for('message', check=on_message, timeout=7 * 60))
|
||||
number = await self.bot.wait_for('message', check=on_message, timeout=7 * 60)
|
||||
|
||||
if int(number.content) != 0:
|
||||
c = int(number.content)
|
||||
|
|
Loading…
Reference in a new issue