Update SequelizeProvider and do some other stuff

This commit is contained in:
Daniel Odendahl Jr
2017-05-08 13:20:49 +00:00
parent d11500db59
commit 7e20086b2a
7 changed files with 49 additions and 51 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ class Database {
return database;
}
start() {
static start() {
database.authenticate()
.then(() => console.log('[Database] Connection has been established successfully.'))
.then(() => console.log('[Database] Synchronizing...'))
-4
View File
@@ -1,10 +1,6 @@
const request = require('superagent');
class Stats {
constructor() {
throw new Error(`The ${this.constructor.name} class may not be instantiated.`);
}
static discordBots(server_count, userID) {
return request
.post(`https://bots.discord.pw/api/bots/${userID}/stats`)