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()
|
exit()
|
||||||
|
|
||||||
from os import getpid
|
from os import getpid, path
|
||||||
|
|
||||||
from functions import *
|
from functions import *
|
||||||
|
|
||||||
pid = getpid()
|
pid = getpid()
|
||||||
version = 2.2
|
version = 2.3
|
||||||
|
|
||||||
if (
|
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"
|
or loadJson("config.json")["bot_token"] == "SET-BOT-TOKEN"
|
||||||
):
|
):
|
||||||
print(
|
print(
|
||||||
|
Loading…
Reference in New Issue
Block a user