Skip to content

Commit 8231b68

Browse files
authored
Update index.js
added quick.db
1 parent fc2e5b9 commit 8231b68

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,19 @@ client.em = require("./util/embed")
2323
client.commands = new Discord.Collection();
2424
client.aliases = new Discord.Collection();
2525

26-
// Database
26+
// Database Mongo
27+
/*
2728
const { Database } = require("quickmongo");
2829
client.db = new Database(process.env.mongoUrl);
2930
3031
client.db.on("ready", () => {
3132
console.log(" ==========================\n Mongo Database connected!\n ==========================");
3233
})
34+
*/
35+
// Database Quick.db
36+
client.db = require('quick.db');
37+
38+
// Don't use both at same time or code will stop working
3339

3440
// Ready
3541
client.on('ready', () => {

0 commit comments

Comments
 (0)