fixing again

This commit is contained in:
crate 2024-10-09 18:23:23 -05:00
parent dfc7dd45c4
commit 2a72b2da44

View File

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