1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 02:00:20 +00:00
This commit is contained in:
MatteZ02 2020-02-12 21:59:36 +02:00
parent f12ed4581d
commit d28e709b9d
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ module.exports = {
console.log('- Activated -');
setInterval(async () => {
if (client.config.saveDB && !client.config.devMode) {
console.log('DB saved');
client.guilds.forEach(guild => {
client.db.collection('guilds').doc(guild.id).set({
prefix: client.global.db.guilds[guild.id].prefix,

View File

@ -15,7 +15,7 @@ module.exports = {
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,
devMode: true,
dblApi: false,
saveDB: false,
//db values