format wiadomości
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user