mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 14:47:29 +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:
|
except exc.GoTo:
|
||||||
await paginator.edit(content=f'`{c} / {len(posts)}`')
|
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:
|
if int(number.content) != 0:
|
||||||
c = int(number.content)
|
c = int(number.content)
|
||||||
|
|
Loading…
Reference in a new issue