aboutsummaryrefslogtreecommitdiff
path: root/start.py
diff options
context:
space:
mode:
Diffstat (limited to 'start.py')
-rwxr-xr-xstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.py b/start.py
index eea23d2d..748a5089 100755
--- a/start.py
+++ b/start.py
@@ -20,12 +20,12 @@ database = Database.Database(bot, args.database)
config_object = Config.Config(bot, args.config)
bot.database = database
bot.config_object = config_object
+bot.modules.load_modules()
servers = database.get_servers()
for server in servers:
bot.add_server(*server)
if len(bot.servers):
- bot.modules.load_modules()
bot.events.on("boot").on("done").call()
time.sleep(5)
bot.connect_all()