KevinSidd
KevinSidd
MIA🎶 Moonlink.js - Imagine a Music Application
Created by ! 𓅃‧ 𝕊𝕄𝕬ℝ𝕋 𝕂3𝕐 ‧𓅃 on 7/11/2024 in #help
The Music was successfully found, but not played
Facing same problem
5 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/2/2024 in #help
Play : Error
:peek_cat_love:
7 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/2/2024 in #help
Play : Error
v20.13.1
7 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/2/2024 in #help
Play : Error
Occured in version 3.6.16 works fine on 3.6.8
7 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/1/2024 in #help
Skip : Error
Gn
16 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/1/2024 in #help
Skip : Error
It's midnight
16 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/1/2024 in #help
Skip : Error
Thank you man will work on tomorrow
16 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/1/2024 in #help
Skip : Error
If you looking for this :Namaste2_BG:
16 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/1/2024 in #help
Skip : Error
[ERROR] => TypeError: this.queue.all is not a function
at MoonlinkPlayer.skip (C:\Users\Kevin\Desktop\Code\Discord Bots\Mitthu\node_modules\moonlink.js\dist\src\@Entities\MoonlinkPlayer.js:251:36)
at Command.runSlash (C:\Users\Kevin\Desktop\Code\Discord Bots\Mitthu\src\commands\chatInput\music\skip.js:51:16)
at C:\Users\Kevin\Desktop\Code\Discord Bots\Mitthu\src\events\interactionCreate\handleCommands.js:89:29
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.run (C:\Users\Kevin\Desktop\Code\Discord Bots\Mitthu\src\events\interactionCreate\handleCommands.js:88:17)
[ERROR] => TypeError: this.queue.all is not a function
at MoonlinkPlayer.skip (C:\Users\Kevin\Desktop\Code\Discord Bots\Mitthu\node_modules\moonlink.js\dist\src\@Entities\MoonlinkPlayer.js:251:36)
at Command.runSlash (C:\Users\Kevin\Desktop\Code\Discord Bots\Mitthu\src\commands\chatInput\music\skip.js:51:16)
at C:\Users\Kevin\Desktop\Code\Discord Bots\Mitthu\src\events\interactionCreate\handleCommands.js:89:29
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.run (C:\Users\Kevin\Desktop\Code\Discord Bots\Mitthu\src\events\interactionCreate\handleCommands.js:88:17)
16 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/1/2024 in #help
Skip : Error
Currently not on laptop will share whole when back!
16 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/1/2024 in #help
Skip : Error
Please LMK if I am doing something wrong!
16 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 6/1/2024 in #help
Skip : Error
const { Colors, ApplicationCommandOptionType } = require("discord.js");
const { Command } = require("../../../handlers/helpers/command");
const { createEmbeds } = require("../../../handlers/helpers/embed");
const { MoonlinkPlayer } = require("moonlink.js");

module.exports = new Command({
name: "skip",
description: "Skip the current song or to",
category: "Music",
options: [{
type: ApplicationCommandOptionType.Integer,
name: "number",
description: "The number of songs to skip.",
required: false
}],
runSlash: async (client, interaction) => {
if (!client.moonReady) return;

/**@type {MoonlinkPlayer} */
const player = client.manager.players.get(interaction.guild.id);
if (!player) {
return interaction.reply({
content: "There is no player for this guild.",
ephemeral: true
});
}

const voiceChannel = interaction.member.voice.channel;
if (!voiceChannel) {
return interaction.reply({
content: "You need to be in a voice channel to use this command.",
ephemeral: true
});
}

if (voiceChannel.id !== player.voiceChannel) {
return interaction.reply({
content: "You need to be in the same voice channel as the player to use this command.",
ephemeral: true
});
}

const number = interaction.options.getInteger("number") || 1;
if (number > player.queue.size) {
return interaction.reply({
content: "There are not that many songs in the queue.",
ephemeral: true
});
}

player.skip(number);

return interaction.reply({
embeds: createEmbeds([{
AuthorIcon: "https://cdn.discordapp.com/emojis/1244001599005786193.gif?size=128&quality=lossless",
AuthorName: "Mitthu Music",
Description: `> **Skipped** ${number} song${number > 1 ? "s" : ""} as requested by <@${interaction.user.id}>`,
Color: Colors.Green
}])
});
}
})
const { Colors, ApplicationCommandOptionType } = require("discord.js");
const { Command } = require("../../../handlers/helpers/command");
const { createEmbeds } = require("../../../handlers/helpers/embed");
const { MoonlinkPlayer } = require("moonlink.js");

module.exports = new Command({
name: "skip",
description: "Skip the current song or to",
category: "Music",
options: [{
type: ApplicationCommandOptionType.Integer,
name: "number",
description: "The number of songs to skip.",
required: false
}],
runSlash: async (client, interaction) => {
if (!client.moonReady) return;

/**@type {MoonlinkPlayer} */
const player = client.manager.players.get(interaction.guild.id);
if (!player) {
return interaction.reply({
content: "There is no player for this guild.",
ephemeral: true
});
}

const voiceChannel = interaction.member.voice.channel;
if (!voiceChannel) {
return interaction.reply({
content: "You need to be in a voice channel to use this command.",
ephemeral: true
});
}

if (voiceChannel.id !== player.voiceChannel) {
return interaction.reply({
content: "You need to be in the same voice channel as the player to use this command.",
ephemeral: true
});
}

const number = interaction.options.getInteger("number") || 1;
if (number > player.queue.size) {
return interaction.reply({
content: "There are not that many songs in the queue.",
ephemeral: true
});
}

player.skip(number);

return interaction.reply({
embeds: createEmbeds([{
AuthorIcon: "https://cdn.discordapp.com/emojis/1244001599005786193.gif?size=128&quality=lossless",
AuthorName: "Mitthu Music",
Description: `> **Skipped** ${number} song${number > 1 ? "s" : ""} as requested by <@${interaction.user.id}>`,
Color: Colors.Green
}])
});
}
})
16 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 4/30/2024 in #help
TrackError
Alr will give it a go
25 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 4/30/2024 in #help
TrackError
Can't get it to work
25 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 4/30/2024 in #help
TrackError
Make some changes, 1 min
25 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 4/30/2024 in #help
TrackError
"Video returned by YouTube isn't what was requested"
25 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 4/30/2024 in #help
TrackError
25 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 4/30/2024 in #help
TrackError
Well I can't send the full nodeRaw
25 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 4/30/2024 in #help
TrackError
eee
25 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by KevinSidd on 4/30/2024 in #help
TrackError
Ya was gonna say that
25 replies