From c60b3ca216deae378d98628559e70b29c5ae5c28 Mon Sep 17 00:00:00 2001 From: Bsian Date: Fri, 3 Jan 2020 15:23:00 +0000 Subject: [PATCH] Fix typos --- src/commands/index.ts | 2 +- src/commands/load.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } }