1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-15 17:45:59 +00:00

ffmpeg error detections system

This commit is contained in:
MatteZ02
2019-12-16 21:01:42 +02:00
parent 069ba70cb5
commit 2e31350def
4 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,6 @@
module.exports = {
name: 'ready',
async execute(client, dbl) {
async execute(client, dbl, Discord) {
const remoteMusixGuildsData = await client.funcs.dbget('guilds', null, client);
const remoteMusixPlaylistsData = await client.funcs.dbget('playlists', null, client);
remoteMusixGuildsData.forEach(guildData => {
@ -44,5 +44,8 @@ module.exports = {
});
dbl.postStats(client.guilds.size);
}, 1800000);
setInterval(() => {
client.funcs.ffmpeg(client, disco);
}, 7200000);
}
}