forked from piair/MsRewards-Reborn
I'm just a clown, I didn't update...
This commit is contained in:
parent
aaafbb2257
commit
19606e5f4c
5
V6.py
5
V6.py
@ -756,20 +756,15 @@ def log_error(msg):
|
|||||||
|
|
||||||
|
|
||||||
def check_updated():
|
def check_updated():
|
||||||
warning('foo')
|
|
||||||
debug(f"updated: {config.has_been_updated()}")
|
debug(f"updated: {config.has_been_updated()}")
|
||||||
warning('bar')
|
|
||||||
if config.has_been_updated():
|
if config.has_been_updated():
|
||||||
warning('baz')
|
|
||||||
config.discord.wh.send(f"Updated to {config.version}", username="update",
|
config.discord.wh.send(f"Updated to {config.version}", username="update",
|
||||||
avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png")
|
avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
config = Config(args)
|
config = Config(args)
|
||||||
warning('here')
|
|
||||||
check_updated()
|
check_updated()
|
||||||
warning('there')
|
|
||||||
match config.start:
|
match config.start:
|
||||||
case "json":
|
case "json":
|
||||||
json_start(config.json_entry, config.UserCredentials)
|
json_start(config.json_entry, config.UserCredentials)
|
||||||
|
Loading…
Reference in New Issue
Block a user