_Syio
_Syio
DIAdiscord.js - Imagine an app
Created by _Syio on 6/2/2024 in #djs-questions
410 error Discord-Player
Hello i have probleme do you know why ? In my local bot its good BUT in my vps with same code he dont work
"@discordjs/opus": "^0.9.0",
"@web-scrobbler/metadata-filter": "^3.1.0",
"discord-player": "^6.6.9",
"discord.js": "^14.15.2",
"glob": "^10.4.1",
"ytdl-core": "^4.11.5"
"@discordjs/opus": "^0.9.0",
"@web-scrobbler/metadata-filter": "^3.1.0",
"discord-player": "^6.6.9",
"discord.js": "^14.15.2",
"glob": "^10.4.1",
"ytdl-core": "^4.11.5"
Error: Status code: 410
at ClientRequest.<anonymous> (/home/global/OnyBOTV2/node_modules/miniget/dist/index.js:206:27)
at Object.onceWrapper (node:events:633:26)
at ClientRequest.emit (node:events:518:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:698:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:540:22)
at TLSSocket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Proxy.<anonymous> (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:324:25)
at #throw (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2898:80)
at _GuildQueuePlayerNode.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2800:56)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _Player.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:5633:9)
at async Object.execute (/home/global/OnyBOTV2/Discord/Commands/TechnicienBot/Play.js:45:39)
Error: Status code: 410
at ClientRequest.<anonymous> (/home/global/OnyBOTV2/node_modules/miniget/dist/index.js:206:27)
at Object.onceWrapper (node:events:633:26)
at ClientRequest.emit (node:events:518:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:698:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:540:22)
at TLSSocket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Proxy.<anonymous> (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:324:25)
at #throw (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2898:80)
at _GuildQueuePlayerNode.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2800:56)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _Player.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:5633:9)
at async Object.execute (/home/global/OnyBOTV2/Discord/Commands/TechnicienBot/Play.js:45:39)
7 replies
DIAdiscord.js - Imagine an app
Created by _Syio on 6/2/2024 in #djs-voice
Probleme Player
hello i have probleme my discord bot is good in local fille but in my vps he doesn't work you know why ?
Error: Status code: 410
at ClientRequest.<anonymous> (/home/global/OnyBOTV2/node_modules/miniget/dist/index.js:206:27)
at Object.onceWrapper (node:events:633:26)
at ClientRequest.emit (node:events:518:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:698:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:540:22)
at TLSSocket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Proxy.<anonymous> (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:324:25)
at #throw (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2898:80)
at _GuildQueuePlayerNode.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2800:56)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _Player.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:5633:9)
at async Object.execute (/home/global/OnyBOTV2/Discord/Commands/TechnicienBot/Play.js:45:39)
Error: Status code: 410
at ClientRequest.<anonymous> (/home/global/OnyBOTV2/node_modules/miniget/dist/index.js:206:27)
at Object.onceWrapper (node:events:633:26)
at ClientRequest.emit (node:events:518:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:698:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:540:22)
at TLSSocket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Proxy.<anonymous> (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:324:25)
at #throw (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2898:80)
at _GuildQueuePlayerNode.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:2800:56)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _Player.play (/home/global/OnyBOTV2/node_modules/discord-player/dist/index.js:5633:9)
at async Object.execute (/home/global/OnyBOTV2/Discord/Commands/TechnicienBot/Play.js:45:39)
7 replies
DIAdiscord.js - Imagine an app
Created by _Syio on 5/3/2024 in #djs-questions
permissionOverwrites
No description
3 replies
DIAdiscord.js - Imagine an app
Created by _Syio on 4/14/2024 in #djs-questions
slash command badge
Helo my bot does't have the badge for slash commande but i have 0 error :c
12 replies
DIAdiscord.js - Imagine an app
Created by _Syio on 4/12/2024 in #djs-voice
Bot dont Play audio
Hello my bot dont play but i dont know why
const voiceChannel = interaction.member.voice.channel;
const connection = joinVoiceChannel({
channelId: voiceChannel.id,
guildId: voiceChannel.guild.id,
adapterCreator: voiceChannel.guild.voiceAdapterCreator,
});

connection.on(VoiceConnectionStatus.Ready, () => {
console.log('Connecté et pres a Jouer');
});

const player = createAudioPlayer();

const resource = createAudioResource('../test.mp3');

setTimeout(() => {
player.play(resource);
}, 500);
const voiceChannel = interaction.member.voice.channel;
const connection = joinVoiceChannel({
channelId: voiceChannel.id,
guildId: voiceChannel.guild.id,
adapterCreator: voiceChannel.guild.voiceAdapterCreator,
});

connection.on(VoiceConnectionStatus.Ready, () => {
console.log('Connecté et pres a Jouer');
});

const player = createAudioPlayer();

const resource = createAudioResource('../test.mp3');

setTimeout(() => {
player.play(resource);
}, 500);
52 replies