aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstart.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/start.py b/start.py
index 218edc74..e9e9104e 100755
--- a/start.py
+++ b/start.py
@@ -49,6 +49,10 @@ if not log_level:
log = Logging.Log(not args.no_logging, log_level, args.log_dir)
+if sys.version_info < (3, 6):
+ sys.stderr.write("BitBot requires python 3.6.0 or later\n")
+ sys.exit(1)
+
log.info("Starting BitBot %s (Python v%s)",
[IRCBot.VERSION, platform.python_version()])