mirror of
https://github.com/citra-emu/discord-bot.git
synced 2025-02-26 22:36:54 +00:00
21 lines
392 B
JavaScript
21 lines
392 B
JavaScript
/* Application State */
|
|
const State = function () {
|
|
this.guild = null;
|
|
this.logChannel = null;
|
|
this.msglogChannel = 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();
|