diff --git a/power.py b/power.py index 13bf0a9..534bce9 100644 --- a/power.py +++ b/power.py @@ -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."