MrDiamond
MrDiamond
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by MrDiamond on 8/18/2022 in #djs-voice
Very weird error from YTDL
10 replies
DIAdiscord.js - Imagine an app
Created by MrDiamond on 8/15/2022 in #djs-voice
bit won’t join voice channel
My bot won't join my voice channel, does anyone know why? there is no errors
message.channel.send(`Playing ${args[1]}`);

var connection = joinVoiceChannel({
guildID: message.guild.id,
channelID: message.member.voice.channel.id,
adapterCreator: message.guild.voiceAdapterCreator
})

connection.on(VoiceConnectionStatus.Ready, () => {
console.log("Voice connection ready");
const player = createAudioPlayer();
connection.subscribe(player);

const audio = createAudioResource('./music.mp3');
player.play(audio);
})
message.channel.send(`Playing ${args[1]}`);

var connection = joinVoiceChannel({
guildID: message.guild.id,
channelID: message.member.voice.channel.id,
adapterCreator: message.guild.voiceAdapterCreator
})

connection.on(VoiceConnectionStatus.Ready, () => {
console.log("Voice connection ready");
const player = createAudioPlayer();
connection.subscribe(player);

const audio = createAudioResource('./music.mp3');
player.play(audio);
})
7 replies
DIAdiscord.js - Imagine an app
Created by MrDiamond on 8/15/2022 in #djs-voice
Bot won't join vc
My bot won't join my voice channel, does anyone know why? there is no errors
message.channel.send(`Playing ${args[1]}`);

var connection = joinVoiceChannel({
guildID: message.guild.id,
channelID: message.member.voice.channel.id,
adapterCreator: message.guild.voiceAdapterCreator
})

connection.on(VoiceConnectionStatus.Ready, () => {
console.log("Voice connection ready");
const player = createAudioPlayer();
connection.subscribe(player);

const audio = createAudioResource('./music.mp3');
player.play(audio);
})
message.channel.send(`Playing ${args[1]}`);

var connection = joinVoiceChannel({
guildID: message.guild.id,
channelID: message.member.voice.channel.id,
adapterCreator: message.guild.voiceAdapterCreator
})

connection.on(VoiceConnectionStatus.Ready, () => {
console.log("Voice connection ready");
const player = createAudioPlayer();
connection.subscribe(player);

const audio = createAudioResource('./music.mp3');
player.play(audio);
})
3 replies
DIAdiscord.js - Imagine an app
Created by MrDiamond on 8/15/2022 in #djs-questions
Bot won't join Voice Channel
I use the command, and it gets stuck trying to join the voice channel.
message.channel.send(`Playing ${args[1]}`);

var connection = joinVoiceChannel({
guildID: message.guild.id,
channelID: message.member.voice.channel.id,
adapterCreator: message.guild.voiceAdapterCreator
})

connection.on(VoiceConnectionStatus.Ready, () => {
console.log("Voice connection ready");
const player = createAudioPlayer();
connection.subscribe(player);

const audio = createAudioResource('./music.mp3');
player.play(audio);
})
message.channel.send(`Playing ${args[1]}`);

var connection = joinVoiceChannel({
guildID: message.guild.id,
channelID: message.member.voice.channel.id,
adapterCreator: message.guild.voiceAdapterCreator
})

connection.on(VoiceConnectionStatus.Ready, () => {
console.log("Voice connection ready");
const player = createAudioPlayer();
connection.subscribe(player);

const audio = createAudioResource('./music.mp3');
player.play(audio);
})
3 replies