From be0d0916f62fce68b52d442d023581e890faa2e7 Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 28 Nov 2017 18:34:26 -0500 Subject: [PATCH] Fixed mistaken int casting of message --- src/main/cogs/booru.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cogs/booru.py b/src/main/cogs/booru.py index 8b98ae8..c3c35fd 100644 --- a/src/main/cogs/booru.py +++ b/src/main/cogs/booru.py @@ -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)