mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 10:11:27 +03:00
Finish "new" command, and other stuff
This commit is contained in:
@@ -97,15 +97,15 @@ class Bot extends Client {
|
||||
/** The global bot configuration */
|
||||
this.config = config;
|
||||
|
||||
/** A sequelize instance */
|
||||
this.db = await require('./database')(log), // this.db.models.Ticket...
|
||||
|
||||
/** A leekslazylogger instance */
|
||||
this.log = log;
|
||||
|
||||
/** An @eartharoid/i18n instance */
|
||||
this.i18n = new I18n(path('./src/locales'), 'en-GB');
|
||||
|
||||
/** A sequelize instance */
|
||||
this.db = await require('./database')(this), // this.db.models.Ticket...
|
||||
|
||||
this.setMaxListeners(this.config.max_listeners); // set the max listeners for each event
|
||||
|
||||
require('./updater')(this); // check for updates
|
||||
|
Reference in New Issue
Block a user