move constants into assets folder

This commit is contained in:
Emily 2020-10-29 12:56:16 +11:00
parent 50b38b6f03
commit 5bbd7cc433
7 changed files with 2 additions and 8 deletions

View file

@ -2,6 +2,5 @@ module.exports = {
activities: require('./activities.json'), activities: require('./activities.json'),
colours: require('./colours.json'), colours: require('./colours.json'),
emojis: require('./emojis.json'), emojis: require('./emojis.json'),
categories: require('./categories.json'), replies: require ('./replies.json')
responses: require ('./responses.json')
}; };

View file

@ -1,5 +0,0 @@
{
"Configuration": "Configuration",
"Developer": "Developer",
"Test": "Test"
}

View file

@ -10,7 +10,7 @@ const Database = require('./util/database');
const Logger = require('./util/logger'); const Logger = require('./util/logger');
const sentry = require('@sentry/node'); const sentry = require('@sentry/node');
const yaml = require('js-yaml'); 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 config = yaml.safeLoad(require('fs').readFileSync('../botconfig.yml', 'utf8'));
const version = require('../package.json').version; const version = require('../package.json').version;