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(