From 01a069c26fa2f45e2ad20ab9fc4c612a503b4d73 Mon Sep 17 00:00:00 2001 From: Derek Date: Tue, 8 Jan 2019 16:45:22 -0500 Subject: Add linter exception --- bot/cogs/free.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/cogs/free.py b/bot/cogs/free.py index cd04275e2..076415ded 100644 --- a/bot/cogs/free.py +++ b/bot/cogs/free.py @@ -46,7 +46,7 @@ class Free: messages = await channel.history(limit=seek).flatten() msg = messages[seek-1] else: - msg = await channel.history(limit=1).next() + msg = await channel.history(limit=1).next() # noqa (False positive) inactive = (datetime.utcnow() - msg.created_at).seconds if inactive > self.TIME_INACTIVE: -- cgit v1.2.3