1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 03:30:18 +00:00
This commit is contained in:
MatteZ02 2020-03-14 23:17:16 +02:00
parent 9b34e33c36
commit 7c182dee57
4 changed files with 1 additions and 11 deletions

View File

@ -1,2 +0,0 @@
# Musix-V3
V3 for Musix

View File

@ -1,19 +1,16 @@
require('dotenv/config'); require('dotenv/config');
module.exports = { module.exports = {
//credentials
token: process.env.TOKEN, token: process.env.TOKEN,
devToken: process.env.DEVTOKEN, devToken: process.env.DEVTOKEN,
dblKey: process.env.DBLKEY, dblKey: process.env.DBLKEY,
api_key: process.env.GOOGLE_API_KEY, api_key: process.env.GOOGLE_API_KEY,
//channels
debug_channel: "634718645188034560", debug_channel: "634718645188034560",
primary_test_channel: "617633098296721409", primary_test_channel: "617633098296721409",
secondary_test_channel: "570531724002328577", secondary_test_channel: "570531724002328577",
devId: "360363051792203779", devId: "360363051792203779",
embedColor: "#b50002", embedColor: "#b50002",
invite: "https://discordapp.com/api/oauth2/authorize?client_id=607266889537945605&permissions=3427328&redirect_uri=https%3A%2F%2Fdiscordapp.com%2Foauth2%2Fauthorize%3Fclient_id%3D607266889537945605%26%3Bscope%3Dbot%26%3Bpermissions%3D0&scope=bot", invite: "https://discordapp.com/api/oauth2/authorize?client_id=607266889537945605&permissions=3427328&redirect_uri=https%3A%2F%2Fdiscordapp.com%2Foauth2%2Fauthorize%3Fclient_id%3D607266889537945605%26%3Bscope%3Dbot%26%3Bpermissions%3D0&scope=bot",
//Settings
devMode: false, devMode: false,
dblApi: false, dblApi: false,
saveDB: true, saveDB: true,
@ -21,7 +18,6 @@ module.exports = {
shardDelay: 10000, shardDelay: 10000,
spawnTimeout: 60000, spawnTimeout: 60000,
respawnDelay: 1000, respawnDelay: 1000,
//db values
prefix: ">", prefix: ">",
devPrefix: "-", devPrefix: "-",
defaultVolume: 5, defaultVolume: 5,

View File

@ -1,8 +1,3 @@
/*
THIS FILE CONTAINS ALL MESSAGES THAT MUSIX SENDS!
THIS IS MUSIX BRANDING AND YOU'RE NOT PERMITTED TO COPY THE VISUALS OF MUSIX!
IF YOU CLONED THIS REPOSITORY PLEASE MODIFY THESE MESSAGES!
*/
module.exports = { module.exports = {
alreadyPaused: "<:redx:674263474704220182> The music is already paused!", alreadyPaused: "<:redx:674263474704220182> The music is already paused!",
alreadyVoted: "<:redx:674263474704220182> You have already voted to skip!", alreadyVoted: "<:redx:674263474704220182> You have already voted to skip!",

View File

@ -3,6 +3,7 @@ module.exports = async function (client) {
await client.channels.fetch(client.config.secondary_test_channel) await client.channels.fetch(client.config.secondary_test_channel)
.then(x => x.join()); .then(x => x.join());
} catch (error) { } catch (error) {
if (error === "TypeError: Cannot read property 'join' of null") return;
client.debug_channel.send(client.messages.errorDetected + error); client.debug_channel.send(client.messages.errorDetected + error);
} }
}; };