1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 22:27:28 +00:00

Fixed mistaken int casting of message

This commit is contained in:
Myned 2017-11-28 18:34:26 -05:00
parent 4578cc5375
commit be0d0916f6

View file

@ -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)