Add Server Implements for Submanager
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good

This commit is contained in:
Raphix
2023-04-26 23:50:58 +02:00
parent d801f02978
commit 3aa775d81b
23 changed files with 2756 additions and 202 deletions

View File

@ -1,4 +1,5 @@
const { SlashCommandBuilder, EmbedBuilder } = require("discord.js");
const log = require("../sublog")
module.exports = {
@ -7,6 +8,7 @@ module.exports = {
.setDescription("Permet de passer à la musique suivante !"),
async execute(client, interaction) {
if(client.dictator == true ) {
@ -53,8 +55,7 @@ module.exports = {
interaction.reply({embeds: [embed]})
} else {
console.log("------------------------QUEUE.JS---------------------")
console.log(client.manager.players.get(interaction.guild.id).queue)
let queue = client.manager.players.get(interaction.guild.id).queue;
@ -83,7 +84,7 @@ module.exports = {
}
}
process.emit("discordDoing")
}
}
}