From 759e93bec4e9e2eb86db7434007345c24b0a0252 Mon Sep 17 00:00:00 2001 From: TymanWasTaken Date: Sun, 16 May 2021 22:03:18 -0400 Subject: fix logging for slash command syncing v2, delete BotMessage and BotGuild because useless, add prefix slash command --- src/commands/owner/reload.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/owner/reload.ts') 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 { + public async exec(message: Message): Promise { try { await this.client.util.shell('yarn rimraf dist/'); await this.client.util.shell('yarn tsc'); -- cgit