aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/moderation.py
diff options
context:
space:
mode:
authorGravatar Chris Goes <[email protected]>2019-02-22 13:53:27 -0700
committerGravatar GitHub <[email protected]>2019-02-22 13:53:27 -0700
commit6915b66b6518d2cfa506bd2a45a426173b1b4731 (patch)
treed3f1fcb83e80bc8acfd1f6294e32c53a0c805733 /bot/cogs/moderation.py
parentRefactored code. (diff)
parentMerge 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.py3
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,