import { SlashCommandBuilder, ChatInputCommandInteraction } from 'discord.js'; import { SlashCommand } from '../../utils/types'; import { context } from '../../config/context'; const command: SlashCommand = { guildOnly: true, data: new SlashCommandBuilder().setName('skip').setDescription('Überspringt den aktuellen Song.'), async execute(interaction: ChatInputCommandInteraction) { if (!interaction.guildId) return; context.music.skip(interaction.guildId); await interaction.reply({ content: 'Übersprungen.' }); } }; export default command;