diff --git a/src/commands/index.ts b/src/commands/index.ts index f8e4bf7..f9d20aa 100644 --- a/src/commands/index.ts +++ b/src/commands/index.ts @@ -1,6 +1,6 @@ export { default as announce } from './announce'; export { default as bearer } from './bearer'; -export { default as createAccount } from './createaccount'; +export { default as createaccount } from './createaccount'; export { default as cwg } from './cwg'; export { default as deleteaccount } from './deleteaccount'; export { default as disk } from './disk'; diff --git a/src/commands/load.ts b/src/commands/load.ts index 7853617..1c94df7 100644 --- a/src/commands/load.ts +++ b/src/commands/load.ts @@ -42,7 +42,7 @@ export default class Load extends Command { delete require.cache[`${corepath}/commands/${args[1]}.js`]; Object.keys(require.cache).filter((path) => path.includes(`${args[1]}_`)).forEach((path) => delete require.cache[path]); } catch (error) { - if (error.message.includes('Cannot find module')) return message.channel.createMessage(`${this.client.stores.emojis} ***Cannot find file***`); + if (error.message.includes('Cannot find module')) return message.channel.createMessage(`${this.client.stores.emojis.error} ***Could not find file***`); throw error; } }