# Path: dozer/cogs/_utils.py
# def command(self, *args, **kwargs):
#     """Initiates a command"""
#     kwargs.setdefault('cls', Command)
#     return super(Group, self).command(*args, **kwargs)


import asyncio
import copy
import datetime
import math
import random
import re
import typing
import async_timeout
import discord
import wavelink
from discord.ext import menus, commands
from discord.ext.commands import NoPrivateMessage, BadArgument
from ._utils import command

        required = self.required(ctx)
        player.shuffle_votes.add(ctx.author)

        if len(player.shuffle_votes) >= required:
            await ctx.send('Vote to shuffle passed. Shuffling the playlist.')
            player.shuffle_votes.clear()
            random.shuffle(player.queue._queue)
        else:
            await ctx.send(f'{ctx.author.mention} has voted to shuffle the playlist.')
    shuffle.example_usage = """
    `{prefix}shuffle - shuffles the music queue
    """

    @command(hidden=True)
    async def vol_up(self, ctx: commands.Context):
        """Command used for volume up button."""
        player: Player = self.bot.wavelink.get_player(guild_id=ctx.guild.id, cls=Player, context=ctx)

        if not player.is_connected or not self.is_privileged(ctx):
            return

        vol = int(math.ceil((player.volume + 10) / 10)) * 10

        if vol > 100:
            vol = 100
            await ctx.send('Maximum volume reached')

        await player.set_volume(vol)
    vol_up.example_usage = """

# Path: dozer/cogs/_utils.py
# def command(self, *args, **kwargs):
#     """Initiates a command"""
#     kwargs.setdefault('cls', Command)
#     return super(Group, self).command(*args, **kwargs)


# Path: dozer/cogs/music.py
import asyncio
import copy
import datetime
import math
import random
import re
import typing
import async_timeout
import discord
import wavelink
from discord.ext import menus, commands
from discord.ext.commands import NoPrivateMessage, BadArgument
from ._utils import command


        required = self.required(ctx)
        player.shuffle_votes.add(ctx.author)

        if len(player.shuffle_votes) >= required:
            await ctx.send('Vote to shuffle passed. Shuffling the playlist.')
            player.shuffle_votes.clear()
            random.shuffle(player.queue._queue)
        else:
            await ctx.send(f'{ctx.author.mention} has voted to shuffle the playlist.')
    shuffle.example_usage = """
    `{prefix}shuffle - shuffles the music queue
    """

    @command(hidden=True)
    async def vol_up(self, ctx: commands.Context):
        """Command used for volume up button."""
        player: Player = self.bot.wavelink.get_player(guild_id=ctx.guild.id, cls=Player, context=ctx)

        if not player.is_connected or not self.is_privileged(ctx):
            return

        vol = int(math.ceil((player.volume + 10) / 10)) * 10

        if vol > 100:
            vol = 100
            await ctx.send('Maximum volume reached')

        await player.set_volume(vol)
    vol_up.example_usage = """

    `{prefix}vol_up - turns the volume up by 10