diff --git a/yusarin.py b/yusarin.py index 0b72bae..429f640 100644 --- a/yusarin.py +++ b/yusarin.py @@ -7,15 +7,16 @@ except Exception as exp: ) exit() -from os import getpid +from os import getpid, path from functions import * pid = getpid() -version = 2.2 +version = 2.3 if ( - loadJson("config.json")["owner"] == "SET-OWNER-ID" + not path.exists("config.json") + or loadJson("config.json")["owner"] == "SET-OWNER-ID" or loadJson("config.json")["bot_token"] == "SET-BOT-TOKEN" ): print(