From f9503b8486a8b4b9362f6544f1b516ba08e73a44 Mon Sep 17 00:00:00 2001 From: Larsundso Date: Mon, 30 Dec 2024 14:37:31 +0100 Subject: [PATCH] rm ? --- src/Commands/SlashCommands/settings/afk.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/SlashCommands/settings/afk.ts b/src/Commands/SlashCommands/settings/afk.ts index 49e58d598..119576b1d 100644 --- a/src/Commands/SlashCommands/settings/afk.ts +++ b/src/Commands/SlashCommands/settings/afk.ts @@ -7,7 +7,7 @@ const name = CT.SettingNames.Afk; export default async (cmd: Discord.ChatInputCommandInteraction) => { if (!cmd.inCachedGuild()) return; - const language = await client.util.getLanguage(cmd.guild?.id); + const language = await client.util.getLanguage(cmd.guild.id); const lan = language.slashCommands.settings.categories[name]; const { embedParsers, buttonParsers } = client.util.settingsHelpers; const settings = await client.util.DataBase[CT.SettingsName2TableName[name]]