forked from engineering/cloudservices
Fix typos
parent
0a4be74bc2
commit
c60b3ca216
|
@ -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';
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue