1
0
Fork 0
refactor/models
Bsian 2019-12-17 01:46:17 +00:00
parent ccb39a910c
commit 66ef185819
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export default class Load extends Command {
if (!args[0]) return this.client.commands.get('help').run(message, [this.name]);
const allowed = ['config', 'util', 'command'];
const type = args[0].toLowerCase();
if (!allowed.includes(type)) return message.channel.createMessage(`${this.client.stores.emojis.error} ***Invalid type to (re)load***`);
if (!allowed.includes(type)) return message.channel.createMessage(`${this.client.stores.emojis.error} ***Invalid type to load***`);
const corepath = '/var/CloudServices/dist';
if (type === 'config') {