move constants into assets folder
This commit is contained in:
parent
50b38b6f03
commit
5bbd7cc433
7 changed files with 2 additions and 8 deletions
|
@ -2,6 +2,5 @@ module.exports = {
|
|||
activities: require('./activities.json'),
|
||||
colours: require('./colours.json'),
|
||||
emojis: require('./emojis.json'),
|
||||
categories: require('./categories.json'),
|
||||
responses: require ('./responses.json')
|
||||
replies: require ('./replies.json')
|
||||
};
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"Configuration": "Configuration",
|
||||
"Developer": "Developer",
|
||||
"Test": "Test"
|
||||
}
|
|
@ -10,7 +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 constants = require('./assets/constants');
|
||||
const config = yaml.safeLoad(require('fs').readFileSync('../botconfig.yml', 'utf8'));
|
||||
const version = require('../package.json').version;
|
||||
|
||||
|
|
Loading…
Reference in a new issue