Update main.py

This commit is contained in:
Choco
2024-02-20 11:53:20 +08:00
parent d237c2f0ec
commit c049f4cbf6

View File

@@ -122,7 +122,6 @@ class Vocard(commands.Bot):
return await ctx.reply(embed=embed)
elif not issubclass(error.__class__, VoicelinkException):
error = func.get_lang(ctx.guild.id, "unknownException") + func.settings.invite_link
error = await func.get_lang(ctx.guild.id, "unknownException") + func.settings.invite_link
if (guildId := ctx.guild.id) not in func.ERROR_LOGS:
func.ERROR_LOGS[guildId] = {}