Added config check and updated version to 2.3

This commit is contained in:
Profitroll 2023-05-07 16:39:48 +02:00
parent 7a379cf97e
commit c1ee1b50ab
1 changed files with 4 additions and 3 deletions

View File

@ -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(