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:
parent
7c5a6f840c
commit
ca8c70c4f3
@ -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 => {
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user