This commit is contained in:
Marius Begby committed 2023-08-30 21:47:50 +02:00
1 parent d0f1e940a5
commit 6ebf7b9bd3
30 files changed
+174 -71

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ import { EmbedBuilder, SlashCommandBuilder } from 'discord.js';
import { LyricsData, lyricsExtractor } from '@discord-player/extractor';
import loggerModule from '../../../services/logger';
import { CustomSlashCommandInteraction } from '../../../types/interactionTypes';
import { BaseSlashCommandInteraction } from '../../../types/interactionTypes';
import { EmbedOptions } from '../../../types/configTypes';
import { queueDoesNotExist, queueNoCurrentTrack } from '../../../utils/validation/queueValidator';
import { notInSameVoiceChannel, notInVoiceChannel } from '../../../utils/validation/voiceChannelValidator';
@@ -19,7 +19,7 @@ const loggerTemplate: Logger = loggerModule.child({
name: '/lyrics'
});
const command: CustomSlashCommandInteraction = {
const command: BaseSlashCommandInteraction = {
isNew: false,
isBeta: false,
data: new SlashCommandBuilder()