aboutsummaryrefslogtreecommitdiff
path: root/start.py
diff options
context:
space:
mode:
authorGravatar jesopo2016-04-06 09:40:49 +0100
committerGravatar jesopo2016-04-06 09:40:49 +0100
commitafec1deb5c5fc12444fb4775ae0da69d2f03ef1d (patch)
treea81538aa9e0c5b2a2ee1f5229cee3045684da7f9 /start.py
parentadded words.py for keeping track of how many words people have said. (diff)
added tracking certain words in words.py and fixed/changed a couple of things to allow it to work.
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()