mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 05:10:17 +00:00
fix?
This commit is contained in:
parent
b6f7ddbbf9
commit
ed2d3368a1
@ -7,7 +7,7 @@ module.exports = async function (guild, song, client, message, seek) {
|
||||
client.queue.delete(guild.id);
|
||||
return;
|
||||
}
|
||||
const dispatcher = message.guild.voiceConnection
|
||||
const dispatcher = serverQueue.connection
|
||||
.playStream(ytdl(song.url, { filter: "audio", highWaterMark: 1 << 25 }), { seek: seek, bitrate: 1024, passes: 10, volume: 1 })
|
||||
.on("end", reason => {
|
||||
if (reason === "Stream is not generating quickly enough.") {
|
||||
|
4
index.js
4
index.js
@ -34,8 +34,8 @@ client.funcs.msToTime = require('./funcs/msToTime.js');
|
||||
client.funcs.dbget = require('./funcs/dbget.js');
|
||||
|
||||
client.config = {
|
||||
token: process.env.TOKEN,
|
||||
apikey: process.env.API_KEY,
|
||||
token: process.env.TESTTOKEN,
|
||||
apikey: process.env.API_KEY2,
|
||||
prefix: '>',
|
||||
test: 'success',
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user