pep8 updates

Assorted pep8 updates to retrigger Travis
This commit is contained in:
Bobloy
2018-04-16 11:40:40 -04:00
parent 49818b4997
commit d0c7f8b808

View File

@@ -94,12 +94,12 @@ class Cleanup:
channel = ctx.channel channel = ctx.channel
author = ctx.author author = ctx.author
is_bot = self.bot.user.bot is_bot = self.bot.user.bot
if number > 100: if number > 100:
cont = await self.check_100_plus(ctx, number) cont = await self.check_100_plus(ctx, number)
if not cont: if not cont:
return return
def check(m): def check(m):
if text in m.content: if text in m.content:
return True return True
@@ -134,7 +134,7 @@ class Cleanup:
channel = ctx.channel channel = ctx.channel
author = ctx.author author = ctx.author
is_bot = self.bot.user.bot is_bot = self.bot.user.bot
if number > 100: if number > 100:
cont = await self.check_100_plus(ctx, number) cont = await self.check_100_plus(ctx, number)
if not cont: if not cont:
@@ -217,7 +217,7 @@ class Cleanup:
author = ctx.author author = ctx.author
is_bot = self.bot.user.bot is_bot = self.bot.user.bot
if number > 100: if number > 100:
cont = await self.check_100_plus(ctx, number) cont = await self.check_100_plus(ctx, number)
if not cont: if not cont:
@@ -252,7 +252,7 @@ class Cleanup:
if not cont: if not cont:
return 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): if isinstance(prefixes, str):
prefixes = [prefixes] prefixes = [prefixes]