Added config check and updated version to 2.3
This commit is contained in:
parent
7a379cf97e
commit
c1ee1b50ab
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user