lower volume to 30%
This commit is contained in:
parent
bc6e15b8c8
commit
9b9e161098
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -128,7 +128,7 @@ async def on_voice_state_update(member, before, after):
|
||||||
voice_client = await voice_channel.connect()
|
voice_client = await voice_channel.connect()
|
||||||
voice_client.play(discord.FFmpegPCMAudio(source, **FFMPEG_OPTS))
|
voice_client.play(discord.FFmpegPCMAudio(source, **FFMPEG_OPTS))
|
||||||
voice_client.source = discord.PCMVolumeTransformer(voice_client.source)
|
voice_client.source = discord.PCMVolumeTransformer(voice_client.source)
|
||||||
voice_client.source.volume = 10.0
|
voice_client.source.volume = 0.3
|
||||||
return
|
return
|
||||||
|
|
||||||
if member_ids == 1 and isConnected == True:
|
if member_ids == 1 and isConnected == True:
|
||||||
|
|
Loading…
Reference in a new issue