feat: initial Papo bot scaffold

This commit is contained in:
Pascal.P
2025-11-30 11:04:41 +01:00
commit 000481a3b0
12168 changed files with 1584750 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { SlashCommandBuilder, ChatInputCommandInteraction } from 'discord.js';
import { SlashCommand } from '../../utils/types.js';
import { context } from '../../config/context.js';
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;