mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-17 23:32:10 +00:00
Test
This commit is contained in:
@@ -1375,9 +1375,8 @@ async def zrestartuj_radio(ctx):
|
|||||||
if not allowed:
|
if not allowed:
|
||||||
await ctx.send("Łapy precz od radia")
|
await ctx.send("Łapy precz od radia")
|
||||||
else:
|
else:
|
||||||
retcode = subprocess.call("/home/pi/Conjurer/restart_radio.sh", shell=True)
|
retcode = subprocess.run("/home/pi/Conjurer/restart_radio.sh", shell=True, check = True, capture_output = True)
|
||||||
await ctx.send(f'Wynik {retcode}')
|
logger.info(f'Wynik {retcode}')
|
||||||
|
|
||||||
|
|
||||||
@client.hybrid_command(
|
@client.hybrid_command(
|
||||||
name="dej_co_ze_spotifaja",
|
name="dej_co_ze_spotifaja",
|
||||||
|
|||||||
Reference in New Issue
Block a user