From 71bd1f6ae50cc0525a6739265b833eac80e5ca9f Mon Sep 17 00:00:00 2001 From: Lukas Blacha Date: Wed, 8 Feb 2023 12:11:04 +0100 Subject: [PATCH] Changed Google-Search to Youtube (fix) --- Music-Bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Music-Bot.py b/Music-Bot.py index 9bb64c2..fd396a2 100644 --- a/Music-Bot.py +++ b/Music-Bot.py @@ -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