diff options
| author | 2021-10-17 09:34:18 +0100 | |
|---|---|---|
| committer | 2021-11-30 11:40:44 +0000 | |
| commit | b748d1310b2c731ac46e0bbc864d4d28a5439b37 (patch) | |
| tree | 8527b94c1752bbacc7c84ea12590f6e91cb4bd62 | |
| parent | Stop listening for events when message is deleted (diff) | |
Use new get_logger helper util
| -rw-r--r-- | bot/exts/info/subscribe.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bot/exts/info/subscribe.py b/bot/exts/info/subscribe.py index 5dad013d1..a2a0de976 100644 --- a/bot/exts/info/subscribe.py +++ b/bot/exts/info/subscribe.py @@ -1,5 +1,3 @@ -import logging - import arrow import discord from discord.ext import commands @@ -8,6 +6,7 @@ from discord.interactions import Interaction from bot import constants from bot.bot import Bot from bot.decorators import in_whitelist +from bot.log import get_logger from bot.utils import checks, members, scheduling # Tuple of tuples, where each inner tuple is a role id and a month number. @@ -21,7 +20,7 @@ ASSIGNABLE_ROLES = ( ) ITEMS_PER_ROW = 3 -log = logging.getLogger(__name__) +log = get_logger(__name__) class RoleButtonView(discord.ui.View): |