format wiadomości

This commit is contained in:
Patryk Koreń
2026-01-03 20:58:23 +01:00
parent 765157f754
commit 28b6546c25
10 changed files with 118 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
import { CacheType, ChatInputCommandInteraction, SlashCommandBuilder } from 'discord.js';
import { getQueue } from '../playback';
import { msg_play } from '../messages';
const name = "queue"
@@ -10,11 +10,8 @@ function register() {
}
async function execute(interaction: ChatInputCommandInteraction<CacheType>) {
console.log(interaction.member)
const queue = getQueue()
await interaction.reply(`Current: ${queue.current}
Queue:
${queue.songList.join('\n ')}`);
await interaction.deferReply()
await interaction.editReply(msg_play());
}
export default {