diff options
author | 2020-03-26 22:34:53 +0100 | |
---|---|---|
committer | 2020-03-26 22:34:53 +0100 | |
commit | 226bb6175103c2aea7902bcab90d5736ce929b2b (patch) | |
tree | 987321b6914e8210afb3b72dbaa55ab5558b978b | |
parent | Deseasonify: ignore dirs in server icons dir (diff) |
Deseasonify: move exceptions module under utils
-rw-r--r-- | bot/branding.py | 2 | ||||
-rw-r--r-- | bot/seasons/evergreen/error_handler.py | 2 | ||||
-rw-r--r-- | bot/utils/exceptions.py (renamed from bot/exceptions.py) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/bot/branding.py b/bot/branding.py index c81713be..6f5e7a5c 100644 --- a/bot/branding.py +++ b/bot/branding.py @@ -13,8 +13,8 @@ from discord.ext import commands from bot.bot import SeasonalBot from bot.constants import Branding, Colours, Emojis, MODERATION_ROLES, Tokens from bot.decorators import with_role -from bot.exceptions import BrandingError from bot.seasons import SeasonBase, get_current_season, get_season +from bot.utils.exceptions import BrandingError log = logging.getLogger(__name__) log.setLevel(logging.DEBUG) diff --git a/bot/seasons/evergreen/error_handler.py b/bot/seasons/evergreen/error_handler.py index 8b53b286..d2accbd1 100644 --- a/bot/seasons/evergreen/error_handler.py +++ b/bot/seasons/evergreen/error_handler.py @@ -8,7 +8,7 @@ from discord.ext import commands from bot.constants import Colours, ERROR_REPLIES, NEGATIVE_REPLIES from bot.decorators import InChannelCheckFailure, InMonthCheckFailure -from bot.exceptions import BrandingError +from bot.utils.exceptions import BrandingError log = logging.getLogger(__name__) diff --git a/bot/exceptions.py b/bot/utils/exceptions.py index 70c20e12..70c20e12 100644 --- a/bot/exceptions.py +++ b/bot/utils/exceptions.py |