1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00
This commit is contained in:
MatteZ02 2019-10-16 14:20:49 +03:00
parent 4b7b90a5e2
commit 2366f7e3a6
4 changed files with 1345 additions and 164 deletions

View File

@ -12,6 +12,7 @@ module.exports = {
console.log('- DB Set -'); console.log('- DB Set -');
client.user.setActivity(`@musix help | 🎶`, { type: 'LISTENING' }); client.user.setActivity(`@musix help | 🎶`, { type: 'LISTENING' });
client.user.setStatus('dnd'); client.user.setStatus('dnd');
dbl.postStats(client.guilds.size);
console.log('- Activated -'); console.log('- Activated -');
setInterval(async () => { setInterval(async () => {
client.guilds.forEach(guild => { client.guilds.forEach(guild => {

View File

@ -31,6 +31,7 @@ module.exports = async function (video, message, voiceChannel, client, playlist
client.funcs.play(message.guild, construct.songs[0], client, message, 0); client.funcs.play(message.guild, construct.songs[0], client, message, 0);
} catch (error) { } catch (error) {
client.queue.delete(message.guild.id); client.queue.delete(message.guild.id);
client.users.get('360363051792203779').send("Error with connecting to voice channel: " + error);
return message.channel.send(`:x: An error occured: ${error}`); return message.channel.send(`:x: An error occured: ${error}`);
} }
} else { } else {

1496
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,14 +14,15 @@
"dblapi.js": "^2.3.0", "dblapi.js": "^2.3.0",
"discord.js": "^11.5.1", "discord.js": "^11.5.1",
"dotenv": "^8.1.0", "dotenv": "^8.1.0",
"firebase": "^6.6.0", "ffmpeg-binaries": "^4.0.0",
"firebase-admin": "^8.5.0", "firebase": "^6.6.2",
"firebase-admin": "^8.6.0",
"fs": "0.0.1-security", "fs": "0.0.1-security",
"ms": "^2.1.1", "he": "^1.2.0",
"ms": "^2.1.2",
"node-opus": "^0.3.2", "node-opus": "^0.3.2",
"request": "^2.88.0", "request": "^2.88.0",
"simple-youtube-api": "^5.2.1", "simple-youtube-api": "^5.2.1",
"ytdl-core": "^0.29.7", "ytdl-core": "^0.29.7"
"he": "^1.2.0"
} }
} }