Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
added quick.db
  • Loading branch information
RupCodes authored Jun 17, 2021
1 parent fc2e5b9 commit 8231b68
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,19 @@ client.em = require("./util/embed")
client.commands = new Discord.Collection();
client.aliases = new Discord.Collection();

// Database
// Database Mongo
/*
const { Database } = require("quickmongo");
client.db = new Database(process.env.mongoUrl);
client.db.on("ready", () => {
console.log(" ==========================\n Mongo Database connected!\n ==========================");
})
*/
// Database Quick.db
client.db = require('quick.db');

// Don't use both at same time or code will stop working

// Ready
client.on('ready', () => {
Expand Down

0 comments on commit 8231b68

Please sign in to comment.