Merge branch 'beta' into refactor-views

This commit is contained in:
Choco
2025-09-26 13:29:27 +08:00
9 changed files with 601 additions and 29 deletions

View File

@@ -127,7 +127,7 @@ class Basic(commands.Cog):
@app_commands.autocomplete(query=play_autocomplete)
@commands.dynamic_cooldown(cooldown_check, commands.BucketType.guild)
async def play(self, ctx: commands.Context, *, query: str, start: str = "0", end: str = "0") -> None:
"Loads your input into the queue"
"Loads your input into the queue."
player: voicelink.Player = ctx.guild.voice_client
if not player:
player = await voicelink.connect_channel(ctx)
@@ -222,7 +222,7 @@ class Basic(commands.Cog):
])
@commands.dynamic_cooldown(cooldown_check, commands.BucketType.guild)
async def search(self, ctx: commands.Context, *, query: str, platform: str = SearchType.YOUTUBE.name):
"Loads your search query and shows the results."
"Searches your query and displays the results."
player: voicelink.Player = ctx.guild.voice_client
if not player:
player = await voicelink.connect_channel(ctx)