Switched to OpusVoice
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user