Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed May 28, 2019
1 parent 90ac9bd commit 3d37a6f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
13 changes: 8 additions & 5 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
const Discord = require("discord.js"), // npm install discord.js
ms = require("ms"), // npm install ms
Quickdb = require("quick.db"), // npm install quick.db
Quickdb = require("quick.db"), // npm install Androz2091/quick.db
AsciiTable = require("ascii-table"); // npm install ascii-table

// Replace json.sqlite by the file name of your choice
Quickdb.init("./json.sqlite");

/* Create tables */
const usersData = new Quickdb.table("usersdata"),
const usersData = new Quickdb.Table("usersdata"),
cooldowns = {
work:new Quickdb.table("work"),
rep:new Quickdb.table("rep"),
xp:new Quickdb.table("xp")
work:new Quickdb.Table("work"),
rep:new Quickdb.Table("rep"),
xp:new Quickdb.Table("xp")
};


Expand Down
11 changes: 5 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"ascii-table": "0.0.9",
"discord.js": "^11.4.2",
"ms": "^2.1.1",
"quick.db": "^7.0.0-b22"
"quick.db": "github:Androz2091/quick.db"
}
}

0 comments on commit 3d37a6f

Please sign in to comment.