aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-01-06 09:53:46 +0200
committerGravatar ks129 <[email protected]>2021-01-06 09:53:46 +0200
commit00687fa607f9eaadc0aacb260dcda53b2f767827 (patch)
treed34ceb78f33f5cff9c1fa26df32f606993fe68c2
parentAdd startup task that starts daemon to branding cog (diff)
Fix BrandingError import in error handler
-rw-r--r--bot/exts/backend/error_handler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/backend/error_handler.py b/bot/exts/backend/error_handler.py
index b6c19d504..d60dda3d4 100644
--- a/bot/exts/backend/error_handler.py
+++ b/bot/exts/backend/error_handler.py
@@ -11,7 +11,8 @@ from bot.api import ResponseCodeError
from bot.bot import Bot
from bot.constants import Channels, Colours, ERROR_REPLIES
from bot.converters import TagNameConverter
-from bot.errors import BrandingError, LockedResourceError
+from bot.errors import LockedResourceError
+from bot.exts.backend.branding._errors import BrandingError
from bot.utils.checks import InWhitelistCheckFailure
log = logging.getLogger(__name__)