another fix

This commit is contained in:
crate 2024-10-09 18:21:39 -05:00
parent b18357e524
commit dfc7dd45c4

View File

@ -96,7 +96,7 @@ def send_discord(message):
finally:
await client.close()
await client.start(bot_token)
asyncio.run(message_send)
asyncio.run((message_send))
def pwr_offline(battery):
message = f"{ups_id} UPS is running on battery power! {battery}% charge remaining."