mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-17 01:16:00 +00:00
Moved rest of the messages to messages file
This commit is contained in:
@ -3,6 +3,6 @@ module.exports = async function (client) {
|
||||
await client.channels.fetch(client.config.secondary_test_channel)
|
||||
.then(x => x.join());
|
||||
} catch (error) {
|
||||
client.debug_channel.send("Error detected: " + error);
|
||||
client.debug_channel.send(client.messages.errorDetected + error);
|
||||
}
|
||||
};
|
@ -19,7 +19,7 @@ module.exports = async function (guild, song, client, seek, play) {
|
||||
});
|
||||
dispatcher.on('error', error => {
|
||||
console.error(error);
|
||||
client.debug_channel.send('Error with the dispatcher: ' + error);
|
||||
client.debug_channel.send(client.messages.dispatcherError + error);
|
||||
serverQueue.voiceChannel.leave();
|
||||
client.queue.delete(guild.id);
|
||||
return serverQueue.textChannel.send(client.messages.errorDispatcher);
|
||||
|
Reference in New Issue
Block a user