mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
FIx of volume
This commit is contained in:
@@ -1597,12 +1597,14 @@ async def radio_hardkor(ctx):
|
|||||||
voice_client = client.voice_clients[0]
|
voice_client = client.voice_clients[0]
|
||||||
voice_client.play(
|
voice_client.play(
|
||||||
discord.PCMVolumeTransformer(
|
discord.PCMVolumeTransformer(
|
||||||
discord.FFmpegPCMAudio("http://95.175.16.246:666/mp3-stream"), volume=1.0
|
discord.FFmpegPCMAudio("http://95.175.16.246:666/mp3-stream"), volume=0.3
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
logger.info("Press play on radio completed")
|
logger.info("Press play on radio completed")
|
||||||
#await asyncio.sleep(2)
|
else:
|
||||||
#check_music.start()
|
logger.error("Already playing")
|
||||||
|
await asyncio.sleep(12)
|
||||||
|
check_music.start()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user