aboutsummaryrefslogtreecommitdiff
path: root/examples/basic_voice.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic_voice.py')
-rw-r--r--examples/basic_voice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic_voice.py b/examples/basic_voice.py
index 048f5cf0..42cea2c8 100644
--- a/examples/basic_voice.py
+++ b/examples/basic_voice.py
@@ -101,7 +101,7 @@ class Music(commands.Cog):
if ctx.voice_client is None:
return await ctx.send("Not connected to a voice channel.")
- ctx.voice_client.source.volume = volume
+ ctx.voice_client.source.volume = volume / 100
await ctx.send("Changed volume to {}%".format(volume))
@commands.command()