From af4771e847176ebaad65c2c97c4c1ee978c295b1 Mon Sep 17 00:00:00 2001 From: Emily J Date: Wed, 21 Oct 2020 18:57:46 +1100 Subject: [PATCH] require consants --- bot/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/index.js b/bot/index.js index fb8904d..51f29d7 100644 --- a/bot/index.js +++ b/bot/index.js @@ -10,6 +10,7 @@ const Database = require('./util/database'); const Logger = require('./util/logger'); const sentry = require('@sentry/node'); const yaml = require('js-yaml'); +const constants = require('./constants'); const config = yaml.safeLoad(require('fs').readFileSync('../botconfig.yml', 'utf8')); const version = require('../package.json').version; @@ -23,6 +24,7 @@ class WoomyClient extends Eris.Client { this.version = version; // Essential modules + this.constants = constants; this.logger = Logger; this.db = new Database(this); this.helpers = new Helpers(this);