mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-22 10:25:42 +01:00
b914780a65
* Add game DB lookup support * Fix compatibility typo * Fix typo 2 * Use async function in game DB listing, avoid redundant HTTP requests
20 lines
361 B
JavaScript
20 lines
361 B
JavaScript
/* Application State */
|
|
var State = function () {
|
|
this.guild = null;
|
|
this.logChannel = null;
|
|
this.warnings = [];
|
|
this.responses = null;
|
|
this.bans = [];
|
|
this.stats = {
|
|
joins: 0,
|
|
ruleAccepts: 0,
|
|
leaves: 0,
|
|
warnings: 0
|
|
};
|
|
this.lastGameDBUpdate = 0;
|
|
this.gameDB = [];
|
|
this.gameDBPromise = null;
|
|
};
|
|
|
|
module.exports = new State();
|