Changed Google-Search to Youtube (fix)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user