Switched to OpusVoice
This commit is contained in:
1 parent
22e74ff829
commit
3496e0e5a7
1 file changed
+1
-3
+1
-3
@@ -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