mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 22:44:32 +02:00
Update SequelizeProvider and do some other stuff
This commit is contained in:
@@ -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...'))
|
||||
|
||||
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user