Files
dj-spangebob/src/commands/queue.ts
2026-01-03 20:58:23 +01:00

22 lines
493 B
TypeScript

import { CacheType, ChatInputCommandInteraction, SlashCommandBuilder } from 'discord.js';
import { msg_play } from '../messages';
const name = "queue"
function register() {
return new SlashCommandBuilder()
.setName(name)
.setDescription('Shows queue')
}
async function execute(interaction: ChatInputCommandInteraction<CacheType>) {
await interaction.deferReply()
await interaction.editReply(msg_play());
}
export default {
name,
register,
execute
}