From c049f4cbf6d47840cdd08aca6f5fd1dd8d503eec Mon Sep 17 00:00:00 2001 From: Choco <94597336+ChocoMeow@users.noreply.github.com> Date: Tue, 20 Feb 2024 11:53:20 +0800 Subject: [PATCH] Update main.py --- main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/main.py b/main.py index 6945f4f..7123dc8 100644 --- a/main.py +++ b/main.py @@ -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] = {}