Changed Google-Search to Youtube (fix)

This commit is contained in:
Lukas Blacha
2023-02-08 12:11:04 +01:00
parent 5d58d05668
commit 71bd1f6ae5

View File

@@ -217,9 +217,9 @@ else:
@bot.slash_command()
async def google(ctx: discord.ApplicationContext, query: str):
async def youtube(ctx: discord.ApplicationContext, query: str):
"""Returns a google link for a query."""
await ctx.respond(f"Google Result for: `{query}`", view=Google(query))
await ctx.respond(f"Google Result for: `{query}`", view=Youtube(query))
@play.before_invoke