diff options
| author | 2019-02-22 13:53:27 -0700 | |
|---|---|---|
| committer | 2019-02-22 13:53:27 -0700 | |
| commit | 6915b66b6518d2cfa506bd2a45a426173b1b4731 (patch) | |
| tree | d3f1fcb83e80bc8acfd1f6294e32c53a0c805733 /bot/cogs/moderation.py | |
| parent | Refactored code. (diff) | |
| parent | Merge pull request #313 from python-discord/Hemlock.Users_and_Roles_adjustment (diff) | |
Merge branch 'master' into rules_command
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/moderation.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/cogs/moderation.py b/bot/cogs/moderation.py index 3c7f80a7a..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, Roles, URLs +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 @@ -23,7 +23,6 @@ from bot.utils.time import parse_rfc1123, wait_until log = logging.getLogger(__name__) -MODERATION_ROLES = Roles.owner, Roles.admin, Roles.moderator INFRACTION_ICONS = { "Mute": Icons.user_mute, "Kick": Icons.sign_out, |