aboutsummaryrefslogtreecommitdiff
path: root/src/commands/owner/reload.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/owner/reload.ts')
-rw-r--r--src/commands/owner/reload.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/owner/reload.ts b/src/commands/owner/reload.ts
index 2311424..6fdd74c 100644
--- a/src/commands/owner/reload.ts
+++ b/src/commands/owner/reload.ts
@@ -1,6 +1,6 @@
import { BotCommand } from '../../lib/extensions/BotCommand';
import { stripIndent } from 'common-tags';
-import { BotMessage } from '../../lib/extensions/BotMessage';
+import { Message } from 'discord.js';
export default class ReloadCommand extends BotCommand {
constructor() {
@@ -16,7 +16,7 @@ export default class ReloadCommand extends BotCommand {
});
}
- public async exec(message: BotMessage): Promise<void> {
+ public async exec(message: Message): Promise<void> {
try {
await this.client.util.shell('yarn rimraf dist/');
await this.client.util.shell('yarn tsc');