mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
[Audio] Remove aliases (#2462)
This commit is contained in:
parent
e5e0a024f9
commit
d608dd953b
@ -531,7 +531,7 @@ class Audio(commands.Cog):
|
|||||||
ctx, _("Moved {track} to the top of the queue.").format(track=removed_title)
|
ctx, _("Moved {track} to the top of the queue.").format(track=removed_title)
|
||||||
)
|
)
|
||||||
|
|
||||||
@commands.command(aliases=["dc"])
|
@commands.command()
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
async def disconnect(self, ctx):
|
async def disconnect(self, ctx):
|
||||||
"""Disconnect from the voice channel."""
|
"""Disconnect from the voice channel."""
|
||||||
@ -704,7 +704,7 @@ class Audio(commands.Cog):
|
|||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@commands.command(aliases=["np", "n", "song", "track"])
|
@commands.command()
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
async def now(self, ctx):
|
async def now(self, ctx):
|
||||||
"""Now playing."""
|
"""Now playing."""
|
||||||
@ -1528,7 +1528,7 @@ class Audio(commands.Cog):
|
|||||||
)
|
)
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
@commands.command(aliases=["q"])
|
@commands.command()
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
async def queue(self, ctx, *, page="1"):
|
async def queue(self, ctx, *, page="1"):
|
||||||
"""List the queue.
|
"""List the queue.
|
||||||
@ -2126,7 +2126,7 @@ class Audio(commands.Cog):
|
|||||||
url = f"https://www.youtube.com/watch?v={random.choice(ids)}"
|
url = f"https://www.youtube.com/watch?v={random.choice(ids)}"
|
||||||
await ctx.invoke(self.play, query=url)
|
await ctx.invoke(self.play, query=url)
|
||||||
|
|
||||||
@commands.command(aliases=["forceskip", "fs"])
|
@commands.command()
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
async def skip(self, ctx):
|
async def skip(self, ctx):
|
||||||
"""Skip to the next track."""
|
"""Skip to the next track."""
|
||||||
@ -2280,7 +2280,7 @@ class Audio(commands.Cog):
|
|||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
await player.skip()
|
await player.skip()
|
||||||
|
|
||||||
@commands.command(aliases=["s"])
|
@commands.command()
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
async def stop(self, ctx):
|
async def stop(self, ctx):
|
||||||
"""Stop playback and clear the queue."""
|
"""Stop playback and clear the queue."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user