From a54171d3c0abc259f997baa25d83ec016efca603 Mon Sep 17 00:00:00 2001 From: "Dest.Com" Date: Fri, 13 Oct 2023 23:23:22 +0200 Subject: [PATCH] fix: missing imports --- src/commands/slashCommands/queue.ts | 1 + src/commands/slashCommands/redo.ts | 1 + src/commands/slashCommands/remove.ts | 1 + src/commands/slashCommands/resume.ts | 1 + src/commands/slashCommands/skip.ts | 1 + 5 files changed, 5 insertions(+) diff --git a/src/commands/slashCommands/queue.ts b/src/commands/slashCommands/queue.ts index b79ab13..3113ccb 100644 --- a/src/commands/slashCommands/queue.ts +++ b/src/commands/slashCommands/queue.ts @@ -1,5 +1,6 @@ import { CommandInteraction, SlashCommandBuilder, TextChannel } from 'discord.js'; import { client } from 'src/Bot'; +import i18n from 'src/config/i18n'; import { fetchGuild } from 'src/database/queries/guilds/get'; import { queueCommand } from '../textCommands'; diff --git a/src/commands/slashCommands/redo.ts b/src/commands/slashCommands/redo.ts index eecd747..9509d61 100644 --- a/src/commands/slashCommands/redo.ts +++ b/src/commands/slashCommands/redo.ts @@ -1,5 +1,6 @@ import { CommandInteraction, SlashCommandBuilder, TextChannel } from 'discord.js'; import { client } from 'src/Bot'; +import i18n from 'src/config/i18n'; import { fetchGuild } from 'src/database/queries/guilds/get'; import { redoCommand } from '../textCommands'; diff --git a/src/commands/slashCommands/remove.ts b/src/commands/slashCommands/remove.ts index 6401b1a..b439647 100644 --- a/src/commands/slashCommands/remove.ts +++ b/src/commands/slashCommands/remove.ts @@ -1,5 +1,6 @@ import { CommandInteraction, SlashCommandBuilder, TextChannel } from 'discord.js'; import { client } from 'src/Bot'; +import i18n from 'src/config/i18n'; import { fetchGuild } from 'src/database/queries/guilds/get'; import { removeCommand } from '../textCommands'; diff --git a/src/commands/slashCommands/resume.ts b/src/commands/slashCommands/resume.ts index dd8287b..3774a60 100644 --- a/src/commands/slashCommands/resume.ts +++ b/src/commands/slashCommands/resume.ts @@ -1,5 +1,6 @@ import { CommandInteraction, SlashCommandBuilder, TextChannel } from 'discord.js'; import { client } from 'src/Bot'; +import i18n from 'src/config/i18n'; import { fetchGuild } from 'src/database/queries/guilds/get'; import { resumeCommand } from '../textCommands'; diff --git a/src/commands/slashCommands/skip.ts b/src/commands/slashCommands/skip.ts index 5773f87..027e8c4 100644 --- a/src/commands/slashCommands/skip.ts +++ b/src/commands/slashCommands/skip.ts @@ -1,5 +1,6 @@ import { CommandInteraction, SlashCommandBuilder, TextChannel } from 'discord.js'; import { client } from 'src/Bot'; +import i18n from 'src/config/i18n'; import { fetchGuild } from 'src/database/queries/guilds/get'; import { skipCommand } from '../textCommands';