aboutsummaryrefslogtreecommitdiff
path: root/start.py
diff options
context:
space:
mode:
authorGravatar jesopo2016-03-30 19:31:23 +0100
committerGravatar jesopo2016-03-30 19:31:23 +0100
commit87af05d4b693cb7d98799b10b9e4fce33ad14a71 (patch)
tree04b7a3d2b238a5753ec8729cc6bd2f59d2814e33 /start.py
parentfixed a left over reference to event["channel"] that is now broken in to.py. (diff)
added a "hashflag" to modules to stop modules being loaded that rely on a not-present config option.
Diffstat (limited to 'start.py')
-rwxr-xr-xstart.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/start.py b/start.py
index 8a74f331..bb919dfe 100755
--- a/start.py
+++ b/start.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-import argparse
+import argparse, time
import IRCBot, Config, Database
def bool_input(s):
@@ -19,6 +19,7 @@ for server in servers:
if len(bot.servers):
bot.modules.load_modules()
bot.events.on("boot").on("done").call()
+ time.sleep(5)
bot.connect_all()
bot.run()
else: