Changed Google-Search to Youtube (fix)

This commit is contained in:
Lukas Blacha
2023-02-08 12:16:41 +01:00
parent 93fdfb1f77
commit 08934559b8

View File

@@ -247,7 +247,7 @@ else:
elif ctx.voice_client.is_playing(): elif ctx.voice_client.is_playing():
ctx.voice_client.stop() ctx.voice_client.stop()
"""
@bot.event @bot.event
async def on_application_command_error(ctx, error): async def on_application_command_error(ctx, error):
print(f"[on_application_command_error]\n{ctx.author}\n{error}") print(f"[on_application_command_error]\n{ctx.author}\n{error}")
@@ -272,5 +272,6 @@ else:
print(f"[on_command_error]\n{ctx.author}\n{error}") print(f"[on_command_error]\n{ctx.author}\n{error}")
embed = Embed(title=f"{error}", color=15158332) embed = Embed(title=f"{error}", color=15158332)
await ctx.send(embed=embed) await ctx.send(embed=embed)
"""
bot.run(token=args.token, reconnect=True) bot.run(token=args.token, reconnect=True)