1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 02:00:20 +00:00

status and fix ffmpeg

This commit is contained in:
MatteZ02 2020-02-13 05:24:30 +02:00
parent 7c5a6f840c
commit ca8c70c4f3
2 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,7 @@ module.exports = {
}
console.log('- DB Set -');
client.user.setActivity(`@${client.user.username} help | 🎶`, { type: 'LISTENING' });
client.user.setStatus('dnd');
client.user.setStatus('online');
const dbl = new DBL(client.config.dblkey, client);
if (client.config.dblApi && !client.config.devMode) {
dbl.on('error', error => {

View File

@ -1,6 +1,7 @@
module.exports = async function (client) {
try {
await client.channels.get(client.config.secondary_test_channel).join()
await client.channels.fetch(client.config.secondary_test_channel)
.then(x => x.join());
} catch (error) {
client.channels.get(client.config.debug_channel).send("Error detected: " + error);
}