diff options
Diffstat (limited to 'bot/__main__.py')
-rw-r--r-- | bot/__main__.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bot/__main__.py b/bot/__main__.py index a169257f..780c8c4d 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -3,10 +3,16 @@ import logging from bot.bot import bot from bot.constants import Client, STAFF_ROLES, WHITELISTED_CHANNELS from bot.decorators import in_channel_check +from bot.seasons import get_extensions log = logging.getLogger(__name__) bot.add_check(in_channel_check(*WHITELISTED_CHANNELS, bypass_roles=STAFF_ROLES)) + +for ext in get_extensions(): + bot.load_extension(ext) + +bot.load_extension("bot.branding") bot.load_extension("bot.help") -bot.load_extension("bot.seasons") + bot.run(Client.token) |