diff --git a/cogs/playlist.py b/cogs/playlist.py index 5c3a006..605c5de 100644 --- a/cogs/playlist.py +++ b/cogs/playlist.py @@ -303,6 +303,9 @@ class Music: """Sets the volume of the currently playing song.""" state = self.get_voice_state(ctx.message.server) + if value > 200: + await self.bot.say("Sorry but the max volume is 200") + return if state.is_playing(): player = state.player player.volume = value / 100