From 921f180f5310786b23712f82621ad3e0d8578efe Mon Sep 17 00:00:00 2001 From: Gustav Odinger Date: Wed, 23 Sep 2020 18:09:03 +0200 Subject: Remove walk_extensions from exts' init - Updates __main__.py to use the walk_extensions in utils/extensions.py --- bot/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot/__main__.py') diff --git a/bot/__main__.py b/bot/__main__.py index 0ffd6143..cd2d43a9 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -5,8 +5,9 @@ from sentry_sdk.integrations.logging import LoggingIntegration from bot.bot import bot from bot.constants import Client, STAFF_ROLES, WHITELISTED_CHANNELS -from bot.exts import walk_extensions from bot.utils.decorators import in_channel_check +from bot.utils.extensions import walk_extensions + sentry_logging = LoggingIntegration( level=logging.DEBUG, -- cgit v1.2.3