Added autocomplete in playtop
This commit is contained in:
@@ -249,6 +249,7 @@ class Basic(commands.Cog):
|
||||
|
||||
@commands.hybrid_command(name="playtop", aliases=get_aliases("playtop"))
|
||||
@app_commands.describe(query="Input a query or a searchable link.")
|
||||
@app_commands.autocomplete(query=play_autocomplete)
|
||||
@commands.dynamic_cooldown(cooldown_check, commands.BucketType.guild)
|
||||
async def playtop(self, ctx: commands.Context, *, query: str):
|
||||
"Adds a song with the given url or query on the top of the queue."
|
||||
|
||||
Reference in New Issue
Block a user