diff options
| author | 2020-05-14 09:07:03 +0300 | |
|---|---|---|
| committer | 2020-05-14 09:07:03 +0300 | |
| commit | e2c30322fc32b601faa0b2a66367cd98f91fe627 (patch) | |
| tree | acafda82ea37bcf262e2d5981892e419aa50d9b7 | |
| parent | Merge branch 'master' into pep-improvisations (diff) | |
PEP Improvisations: Fix imports
Replace `in_channel` with `in_whitelist`. This mistake was made to merge conflicts.
| -rw-r--r-- | bot/cogs/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/utils.py b/bot/cogs/utils.py index 0b1436f3a..fe7e5b3e9 100644 --- a/bot/cogs/utils.py +++ b/bot/cogs/utils.py @@ -12,7 +12,7 @@ from discord.ext.tasks import loop from bot.bot import Bot from bot.constants import Channels, MODERATION_ROLES, STAFF_ROLES -from bot.decorators import in_channel, with_role +from bot.decorators import in_whitelist, with_role from bot.utils.cache import async_cache log = logging.getLogger(__name__) |