mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 03:33:17 +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 -');
|
console.log('- DB Set -');
|
||||||
client.user.setActivity(`@${client.user.username} help | 🎶`, { type: 'LISTENING' });
|
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);
|
const dbl = new DBL(client.config.dblkey, client);
|
||||||
if (client.config.dblApi && !client.config.devMode) {
|
if (client.config.dblApi && !client.config.devMode) {
|
||||||
dbl.on('error', error => {
|
dbl.on('error', error => {
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
module.exports = async function (client) {
|
module.exports = async function (client) {
|
||||||
try {
|
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) {
|
} catch (error) {
|
||||||
client.channels.get(client.config.debug_channel).send("Error detected: " + error);
|
client.channels.get(client.config.debug_channel).send("Error detected: " + error);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user