From d0c7f8b8089774f5108e5eb6db385aacb1df7ecb Mon Sep 17 00:00:00 2001 From: Bobloy Date: Mon, 16 Apr 2018 11:40:40 -0400 Subject: [PATCH] pep8 updates Assorted pep8 updates to retrigger Travis --- redbot/cogs/cleanup/cleanup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/redbot/cogs/cleanup/cleanup.py b/redbot/cogs/cleanup/cleanup.py index 869c27955..1030097b5 100644 --- a/redbot/cogs/cleanup/cleanup.py +++ b/redbot/cogs/cleanup/cleanup.py @@ -94,12 +94,12 @@ class Cleanup: channel = ctx.channel author = ctx.author is_bot = self.bot.user.bot - + if number > 100: cont = await self.check_100_plus(ctx, number) if not cont: return - + def check(m): if text in m.content: return True @@ -134,7 +134,7 @@ class Cleanup: channel = ctx.channel author = ctx.author is_bot = self.bot.user.bot - + if number > 100: cont = await self.check_100_plus(ctx, number) if not cont: @@ -217,7 +217,7 @@ class Cleanup: author = ctx.author is_bot = self.bot.user.bot - + if number > 100: cont = await self.check_100_plus(ctx, number) if not cont: @@ -252,7 +252,7 @@ class Cleanup: if not cont: return - prefixes = await self.bot.get_prefix(ctx.message) # This returns all server prefixes + prefixes = await self.bot.get_prefix(ctx.message) # This returns all server prefixes if isinstance(prefixes, str): prefixes = [prefixes]