diff --git a/config/secure_config.py b/config/secure_config.py.default similarity index 100% rename from config/secure_config.py rename to config/secure_config.py.default diff --git a/main.py b/main.py index f9605c4..74ee1bb 100644 --- a/main.py +++ b/main.py @@ -2,6 +2,13 @@ from subprocess import * +try: + from config.secure_config import * +except ImportError: + print "Can't find a secure_config file!" + print "Make sure you have configured the bot by moving 'config/secure_config.py.default' to 'config/secure_config.py' and by filling out the information inside." + exit() + while 1: cmd = ['python', 'bot.py'] call(cmd) \ No newline at end of file