diff options
| -rw-r--r-- | bot/cogs/antispam.py | 4 | ||||
| -rw-r--r-- | bot/cogs/bigbrother.py | 5 | ||||
| -rw-r--r-- | bot/cogs/bot.py | 4 | ||||
| -rw-r--r-- | bot/cogs/clean.py | 2 | ||||
| -rw-r--r-- | bot/cogs/information.py | 5 | ||||
| -rw-r--r-- | bot/cogs/moderation.py | 2 | 
6 files changed, 13 insertions, 9 deletions
| diff --git a/bot/cogs/antispam.py b/bot/cogs/antispam.py index a3d6ef730..f65dbe8ab 100644 --- a/bot/cogs/antispam.py +++ b/bot/cogs/antispam.py @@ -11,8 +11,8 @@ from bot.cogs.modlog import ModLog  from bot.constants import (      AntiSpam as AntiSpamConfig, Channels,      Colours, DEBUG_MODE, Event, -    Guild as GuildConfig, Icons, STAFF_ROLES, -    Roles, +    Guild as GuildConfig, Icons, +    Roles, STAFF_ROLES,  ) diff --git a/bot/cogs/bigbrother.py b/bot/cogs/bigbrother.py index 92d033cf4..03d2f1d42 100644 --- a/bot/cogs/bigbrother.py +++ b/bot/cogs/bigbrother.py @@ -10,8 +10,9 @@ from discord import Color, Embed, Guild, Member, Message, TextChannel, User  from discord.ext.commands import Bot, Context, command, group  from bot.constants import ( -    BigBrother as BigBrotherConfig, Channels, Emojis, Guild as GuildConfig, Keys, -    MODERATION_ROLES, URLs, STAFF_ROLES +    BigBrother as BigBrotherConfig, Channels, Emojis, +    Guild as GuildConfig, Keys, +    MODERATION_ROLES, STAFF_ROLES, URLs  )  from bot.decorators import with_role  from bot.pagination import LinePaginator diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py index 4c82a6dcf..61bad422d 100644 --- a/bot/cogs/bot.py +++ b/bot/cogs/bot.py @@ -8,8 +8,8 @@ from discord.ext.commands import Bot, Context, command, group  from dulwich.repo import Repo  from bot.constants import ( -    Channels, Guild, Roles, URLs, -    MODERATION_ROLES +    Channels, Guild, MODERATION_ROLES, +    Roles, URLs,  )  from bot.decorators import with_role  from bot.utils.messages import wait_for_deletion diff --git a/bot/cogs/clean.py b/bot/cogs/clean.py index d20d78ed5..b34d1118b 100644 --- a/bot/cogs/clean.py +++ b/bot/cogs/clean.py @@ -9,7 +9,7 @@ from discord.ext.commands import Bot, Context, group  from bot.cogs.modlog import ModLog  from bot.constants import (      Channels, CleanMessages, Colours, Event, -    Icons, NEGATIVE_REPLIES, MODERATION_ROLES +    Icons, MODERATION_ROLES, NEGATIVE_REPLIES  )  from bot.decorators import with_role diff --git a/bot/cogs/information.py b/bot/cogs/information.py index ee85b9632..469999c00 100644 --- a/bot/cogs/information.py +++ b/bot/cogs/information.py @@ -5,7 +5,10 @@ import textwrap  from discord import CategoryChannel, Colour, Embed, Member, TextChannel, VoiceChannel  from discord.ext.commands import BadArgument, Bot, CommandError, Context, MissingPermissions, command -from bot.constants import Channels, Emojis, Keys, NEGATIVE_REPLIES, STAFF_ROLES, MODERATION_ROLES, URLs +from bot.constants import ( +    Channels, Emojis, Keys, MODERATION_ROLES, +    NEGATIVE_REPLIES, STAFF_ROLES, URLs +)  from bot.decorators import with_role  from bot.utils.checks import with_role_check  from bot.utils.time import time_since diff --git a/bot/cogs/moderation.py b/bot/cogs/moderation.py index 21d571e62..5d8aa0217 100644 --- a/bot/cogs/moderation.py +++ b/bot/cogs/moderation.py @@ -13,7 +13,7 @@ from discord.ext.commands import (  from bot import constants  from bot.cogs.modlog import ModLog -from bot.constants import Colours, Event, Icons, Keys, URLs, MODERATION_ROLES +from bot.constants import Colours, Event, Icons, Keys, MODERATION_ROLES, URLs  from bot.converters import InfractionSearchQuery  from bot.decorators import with_role  from bot.pagination import LinePaginator | 
