mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 05:10:17 +00:00
Update saveDB.ts
This commit is contained in:
parent
7ece5cd91c
commit
f53bfd2745
@ -1,6 +1,6 @@
|
||||
module.exports = async function (client) {
|
||||
if (client.config.saveDB && !client.config.devMode) {
|
||||
console.log('DB saved');
|
||||
//console.log('DB saved');
|
||||
client.guilds.cache.forEach(guild => {
|
||||
client.db.collection('guilds').doc(guild.id).set({
|
||||
prefix: client.global.db.guilds[guild.id].prefix,
|
||||
|
Loading…
Reference in New Issue
Block a user