Update bot.py
This commit is contained in:
parent
0d0c73cc0c
commit
779a3b7554
1 changed files with 2 additions and 0 deletions
2
bot.py
2
bot.py
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue