aboutsummaryrefslogtreecommitdiffstats
path: root/bot/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/__main__.py')
-rw-r--r--bot/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/__main__.py b/bot/__main__.py
index 9a981c5c..8b6ee782 100644
--- a/bot/__main__.py
+++ b/bot/__main__.py
@@ -2,14 +2,14 @@ import logging
from bot.bot import bot
from bot.constants import Client, STAFF_ROLES, WHITELISTED_CHANNELS
-from bot.exts import get_extensions
+from bot.exts import walk_extensions
from bot.utils.decorators import in_channel_check
log = logging.getLogger(__name__)
bot.add_check(in_channel_check(*WHITELISTED_CHANNELS, bypass_roles=STAFF_ROLES))
-for ext in get_extensions():
+for ext in walk_extensions():
bot.load_extension(ext)
bot.run(Client.token)