1
This commit is contained in:
6
main.py
6
main.py
@@ -493,7 +493,7 @@ class Music(commands.Cog):
|
|||||||
ctx.voice_state.volume = volume / 100
|
ctx.voice_state.volume = volume / 100
|
||||||
await ctx.send('Volume set to {}%'.format(volume))
|
await ctx.send('Volume set to {}%'.format(volume))
|
||||||
|
|
||||||
@commands.command(name='whatsong', aliases=['current', 'playing'])
|
@commands.command(name='whatsong', aliases=['current', 'playing', 'now'])
|
||||||
async def whatsong(self, ctx: commands.Context):
|
async def whatsong(self, ctx: commands.Context):
|
||||||
"""Displays the currently playing song."""
|
"""Displays the currently playing song."""
|
||||||
embed = ctx.voice_state.current.create_embed()
|
embed = ctx.voice_state.current.create_embed()
|
||||||
@@ -555,7 +555,7 @@ class Music(commands.Cog):
|
|||||||
else:
|
else:
|
||||||
await ctx.send('You have already voted to skip this song.')
|
await ctx.send('You have already voted to skip this song.')
|
||||||
|
|
||||||
@commands.command(name='showqueue')
|
@commands.command(name='showqueue', aliases=['q', 'queue'])
|
||||||
async def showqueue(self, ctx: commands.Context, *, page: int = 1):
|
async def showqueue(self, ctx: commands.Context, *, page: int = 1):
|
||||||
"""Shows the player's queue"""
|
"""Shows the player's queue"""
|
||||||
|
|
||||||
@@ -602,7 +602,7 @@ class Music(commands.Cog):
|
|||||||
ctx.voice_state.songs.shuffle()
|
ctx.voice_state.songs.shuffle()
|
||||||
await ctx.message.add_reaction('✅')
|
await ctx.message.add_reaction('✅')
|
||||||
|
|
||||||
@commands.command(name='remove')
|
@commands.command(name='remove', aliases=['del'])
|
||||||
async def remove(self, ctx: commands.Context, index: int):
|
async def remove(self, ctx: commands.Context, index: int):
|
||||||
"""Removes a song from the queue at a given index."""
|
"""Removes a song from the queue at a given index."""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user