M7MD
M7MD
DIdiscord.js - Imagine ❄
Created by M7MD on 12/10/2024 in #djs-voice
Detect Move
i will try that
3 replies
DIdiscord.js - Imagine ❄
Created by Miller on 9/22/2024 in #djs-voice
voice is playing on local but not on server
is the a big difference between ffmpeg static and binaries in audio quality?
17 replies
DIdiscord.js - Imagine ❄
Created by Miller on 9/22/2024 in #djs-voice
voice is playing on local but not on server
No i solved it by opening a port
17 replies
DIdiscord.js - Imagine ❄
Created by Ifanoxy on 7/15/2024 in #djs-voice
Bot didn't speak in voice on an host
i solved it
10 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
ok ty
13 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
it works but there is something else, how to make if someone moves to a specific the bot knows and sends in console: Move
13 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
or after an hour
13 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
for now it works but i will come back tomorrow to check
13 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
im sorry i went to eat, which variable you mean?
13 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
i will try that
13 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
no need
13 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
so i need to repeat this code to make it use different values ?
13 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
first line
13 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
let channel = null
const color = require('chalk')
const { joinVoiceChannel } = require('@discordjs/voice');
const guildSchema = require('../MongoDB/Schema/guildSchema');
const { EmbedBuilder } = require('discord.js');

module.exports = {
name: 'ready',
async execute(client) {
client.guilds.cache.forEach(async(guild) => {
try {
let data = await guildSchema.findOne({ guildId: guild.id }) || null
if(data !== null && data.voiceChannel) channel = guild.channels.cache.get(data?.voiceChannel) || null
if(data !== null) {
setInterval(()=> {
client.VoiceIDS.push(channel?.id)
if(data !== null && data.premium === "None Version") return;
}, 5_000)
if(data.premium === "Plus Version" || data.premium === "Premium Version") {
if(channel === null) return;
setTimeout(()=> {
connection = joinVoiceChannel({
channelId: channel.id,
guildId: channel.guild.id,
adapterCreator: channel.guild.voiceAdapterCreator,
});

return console.log(`Connection Started in ${channel.id}`)
})
setInterval(() => {
connection = joinVoiceChannel({
channelId: channel.id,
guildId: channel.guild.id,
adapterCreator: channel.guild.voiceAdapterCreator,
});

return console.log(`Connection Started in ${channel.id}`)
}, 60_000 * 30)
}
}
} catch(e) {
console.log(e)
}
})
}
}
let channel = null
const color = require('chalk')
const { joinVoiceChannel } = require('@discordjs/voice');
const guildSchema = require('../MongoDB/Schema/guildSchema');
const { EmbedBuilder } = require('discord.js');

module.exports = {
name: 'ready',
async execute(client) {
client.guilds.cache.forEach(async(guild) => {
try {
let data = await guildSchema.findOne({ guildId: guild.id }) || null
if(data !== null && data.voiceChannel) channel = guild.channels.cache.get(data?.voiceChannel) || null
if(data !== null) {
setInterval(()=> {
client.VoiceIDS.push(channel?.id)
if(data !== null && data.premium === "None Version") return;
}, 5_000)
if(data.premium === "Plus Version" || data.premium === "Premium Version") {
if(channel === null) return;
setTimeout(()=> {
connection = joinVoiceChannel({
channelId: channel.id,
guildId: channel.guild.id,
adapterCreator: channel.guild.voiceAdapterCreator,
});

return console.log(`Connection Started in ${channel.id}`)
})
setInterval(() => {
connection = joinVoiceChannel({
channelId: channel.id,
guildId: channel.guild.id,
adapterCreator: channel.guild.voiceAdapterCreator,
});

return console.log(`Connection Started in ${channel.id}`)
}, 60_000 * 30)
}
}
} catch(e) {
console.log(e)
}
})
}
}
13 replies
DIdiscord.js - Imagine ❄
Created by M7MD on 11/9/2024 in #djs-voice
bot leave voice channel after a while
i think i forgot to copy it wait i will send it again
13 replies
DIdiscord.js - Imagine ❄
Created by Ifanoxy on 7/15/2024 in #djs-voice
Bot didn't speak in voice on an host
i have the same problem, please if you find a solution tell me.
10 replies
DIdiscord.js - Imagine ❄
Created by Miller on 9/22/2024 in #djs-voice
voice is playing on local but not on server
Sorry
17 replies
DIdiscord.js - Imagine ❄
Created by Miller on 9/22/2024 in #djs-voice
voice is playing on local but not on server
i tried to open a port and it didn’t work
17 replies
DIdiscord.js - Imagine ❄
Created by Miller on 9/22/2024 in #djs-voice
voice is playing on local but not on server
All of these are the same in my pc idk why its not working
17 replies
DIdiscord.js - Imagine ❄
Created by Miller on 9/22/2024 in #djs-voice
voice is playing on local but not on server
its not network issues or missing/wrong version of ffmpeg I checked them all
17 replies