mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Added more logging
This commit is contained in:
@@ -1370,7 +1370,9 @@ async def skip_track(ctx):
|
||||
f"{RADIO_HARBOR_ADDRESS}{SKIP_TRACK}",
|
||||
timeout=360,
|
||||
)
|
||||
_ = await coroutine
|
||||
result = await coroutine
|
||||
logger.info("Done %s", result)
|
||||
await ctx.send("Zrobione szefie!")
|
||||
|
||||
|
||||
@client.hybrid_command(
|
||||
@@ -1839,7 +1841,9 @@ async def dodaj_do_ulubionych(ctx):
|
||||
json=jrequest,
|
||||
timeout=360,
|
||||
)
|
||||
_ = await coroutine
|
||||
result = await coroutine
|
||||
logger.info("Done %s", result)
|
||||
await ctx.send("Zrobione szefie!")
|
||||
@client.hybrid_command(
|
||||
name="ja_chciol",
|
||||
description="Dodaje do listy ulubionych w radiu",
|
||||
@@ -1869,7 +1873,9 @@ async def request_radio(ctx):
|
||||
json=jrequest,
|
||||
timeout=360,
|
||||
)
|
||||
_ = await coroutine
|
||||
result = await coroutine
|
||||
logger.info("Done %s", result)
|
||||
await ctx.send("Zrobione szefie!")
|
||||
|
||||
@client.hybrid_command(
|
||||
name="stworz_audycje",
|
||||
@@ -1902,7 +1908,9 @@ async def stworz_audycje(ctx):
|
||||
json=jrequest,
|
||||
timeout=360,
|
||||
)
|
||||
_ = await coroutine
|
||||
result = await coroutine
|
||||
logger.info("Done %s", result)
|
||||
await ctx.send("Zrobione szefie!")
|
||||
|
||||
|
||||
@client.hybrid_command(
|
||||
@@ -1926,7 +1934,9 @@ async def wyczysc_ulubione(ctx):
|
||||
f"{FILE_SERVICE_ADDRESS}{CLEAR_PRIO}",
|
||||
timeout=360,
|
||||
)
|
||||
_ = await coroutine
|
||||
result = await coroutine
|
||||
logger.info("Done %s", result)
|
||||
await ctx.send("Zrobione szefie!")
|
||||
|
||||
|
||||
@client.hybrid_command(
|
||||
|
||||
Reference in New Issue
Block a user