From 3496e0e5a705862de814a729cefaa61fc954f41d Mon Sep 17 00:00:00 2001 From: Lukas Blacha Date: Tue, 7 Feb 2023 22:24:06 +0100 Subject: [PATCH] Switched to OpusVoice --- Music-Bot.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Music-Bot.py b/Music-Bot.py index 212a355..a533516 100644 --- a/Music-Bot.py +++ b/Music-Bot.py @@ -200,9 +200,7 @@ else: async def on_application_command_error(ctx, error): print(f"[on_application_command_error]\n{ctx.author}\n{error}") if isinstance(error, discord.ext.commands.CommandError): - cool_down_time = int(error.cooldown.get_retry_after()) - td = timedelta(seconds=cool_down_time) - embed = Embed(title=f"{warning}Dieser Command befindet sich im Cool Down!\n Versuche es in `{td}` nochmal!", + embed = Embed(title=f"{warning}{error}", color=15158332) elif isinstance(error, discord.ext.commands.CommandOnCooldown): cool_down_time = int(error.cooldown.get_retry_after())