This commit is contained in:
2024-06-19 18:39:51 +02:00
parent 2fd362a1d5
commit 944dfe2c18
+2 -1
View File
@@ -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(