mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 02:00:20 +00:00
priv
This commit is contained in:
parent
9b34e33c36
commit
7c182dee57
@ -1,19 +1,16 @@
|
||||
require('dotenv/config');
|
||||
|
||||
module.exports = {
|
||||
//credentials
|
||||
token: process.env.TOKEN,
|
||||
devToken: process.env.DEVTOKEN,
|
||||
dblKey: process.env.DBLKEY,
|
||||
api_key: process.env.GOOGLE_API_KEY,
|
||||
//channels
|
||||
debug_channel: "634718645188034560",
|
||||
primary_test_channel: "617633098296721409",
|
||||
secondary_test_channel: "570531724002328577",
|
||||
devId: "360363051792203779",
|
||||
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",
|
||||
//Settings
|
||||
devMode: false,
|
||||
dblApi: false,
|
||||
saveDB: true,
|
||||
@ -21,7 +18,6 @@ module.exports = {
|
||||
shardDelay: 10000,
|
||||
spawnTimeout: 60000,
|
||||
respawnDelay: 1000,
|
||||
//db values
|
||||
prefix: ">",
|
||||
devPrefix: "-",
|
||||
defaultVolume: 5,
|
||||
|
@ -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 = {
|
||||
alreadyPaused: "<:redx:674263474704220182> The music is already paused!",
|
||||
alreadyVoted: "<:redx:674263474704220182> You have already voted to skip!",
|
||||
|
@ -3,6 +3,7 @@ module.exports = async function (client) {
|
||||
await client.channels.fetch(client.config.secondary_test_channel)
|
||||
.then(x => x.join());
|
||||
} catch (error) {
|
||||
if (error === "TypeError: Cannot read property 'join' of null") return;
|
||||
client.debug_channel.send(client.messages.errorDetected + error);
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user