Skip to content

Commit

Permalink
fixed volume slash command
Browse files Browse the repository at this point in the history
  • Loading branch information
melchoir55 committed Dec 29, 2022
1 parent 3e160ee commit f4ebf33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 38 deletions.
2 changes: 1 addition & 1 deletion app/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ async def volume_slash(self, ctx, *, vol: Option(float,
max_value=100)):
"""Change the player volume. A little goes a long way."""
await ctx.respond(f'Attempting to change volume to {vol}...', ephemeral=True)
await self.change_volume(ctx, vol)
await self.change_volume(ctx, vol=vol)

@commands.command(name='leave', aliases=["stop", "dc", "disconnect", "bye"],
description="stops music and disconnects from voice")
Expand Down
37 changes: 0 additions & 37 deletions app/test_listener.py

This file was deleted.

0 comments on commit f4ebf33

Please sign in to comment.