mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 06:43:17 +00:00
dev
This commit is contained in:
parent
f12ed4581d
commit
d28e709b9d
@ -32,6 +32,7 @@ module.exports = {
|
|||||||
console.log('- Activated -');
|
console.log('- Activated -');
|
||||||
setInterval(async () => {
|
setInterval(async () => {
|
||||||
if (client.config.saveDB && !client.config.devMode) {
|
if (client.config.saveDB && !client.config.devMode) {
|
||||||
|
console.log('DB saved');
|
||||||
client.guilds.forEach(guild => {
|
client.guilds.forEach(guild => {
|
||||||
client.db.collection('guilds').doc(guild.id).set({
|
client.db.collection('guilds').doc(guild.id).set({
|
||||||
prefix: client.global.db.guilds[guild.id].prefix,
|
prefix: client.global.db.guilds[guild.id].prefix,
|
||||||
|
@ -15,7 +15,7 @@ module.exports = {
|
|||||||
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
|
//Settings
|
||||||
devMode: false,
|
devMode: true,
|
||||||
dblApi: false,
|
dblApi: false,
|
||||||
saveDB: false,
|
saveDB: false,
|
||||||
//db values
|
//db values
|
||||||
|
Loading…
Reference in New Issue
Block a user