fixed logged_users
This commit is contained in:
parent
3d3580fa42
commit
6c5f73bc08
@ -3,5 +3,6 @@
|
||||
"password": "testpassword",
|
||||
"webhook": "https://discord.com/webhook/abc/def",
|
||||
"logout": false,
|
||||
"logged_users": true
|
||||
"logged_users": true,
|
||||
"check_seconds": 300
|
||||
}
|
4
main.py
4
main.py
@ -34,7 +34,7 @@ def is_logged_in():
|
||||
return b'<li id="username_logged_in" class="rightside " data-skip-responsive="true">\n\t\t\t\t\t\t<div class="header-profile dropdown-container">\n\t\t\t\t<a href="./ucp.php" class="header-avatar dropdown-trigger"> <span class="username">' + USERNAME.encode("utf8") in BROWSER.response().get_data()
|
||||
|
||||
|
||||
connected = []
|
||||
connected = ["AmazedBot"]
|
||||
|
||||
|
||||
def loop():
|
||||
@ -137,4 +137,4 @@ if __name__ == "__main__":
|
||||
print(datetime.datetime.now())
|
||||
traceback.print_exc()
|
||||
print("Sleeping...")
|
||||
time.sleep(60*10)
|
||||
time.sleep(config["check_seconds"])
|
||||
|
Loading…
Reference in New Issue
Block a user