Update bot.py

This commit is contained in:
WhatDidYouExpect 2025-05-21 19:50:49 +02:00 committed by GitHub
parent 0d0c73cc0c
commit 779a3b7554
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
bot.py
View file

@ -347,6 +347,8 @@ def ping_server():
print(f"{YELLOW}{get_translation(LOCALE, 'pinging_disabled')}{RESET}") print(f"{YELLOW}{get_translation(LOCALE, 'pinging_disabled')}{RESET}")
os.environ['gooberauthenticated'] = 'No' os.environ['gooberauthenticated'] = 'No'
return return
goobres = requests.get(f"{VERSION_URL}/alert")
print(f"{get_translation(LOCALE, 'goober_server_alert')}={goobres.text}=")
file_info = get_file_info(MEMORY_FILE) file_info = get_file_info(MEMORY_FILE)
payload = { payload = {
"name": NAME, "name": NAME,