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