From 944dfe2c18ce60a3833d735722c297c279f966bc Mon Sep 17 00:00:00 2001 From: Migatu Date: Wed, 19 Jun 2024 18:39:51 +0200 Subject: [PATCH] test --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 0099f70..60b76c5 100644 --- a/bot.py +++ b/bot.py @@ -1374,7 +1374,8 @@ async def zrestartuj_radio(ctx): if not allowed: await ctx.send("Łapy precz od radia") else: - os.system('/home/pi/Conjurer/restart_radio.sh') + result = os.system('/home/pi/Conjurer/restart_radio.sh') + await ctx.send(f'Wynik {result}') @client.hybrid_command(