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/info/botinfo.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/commands/info/botinfo.ts') diff --git a/src/commands/info/botinfo.ts b/src/commands/info/botinfo.ts index 27e14c4..306c142 100644 --- a/src/commands/info/botinfo.ts +++ b/src/commands/info/botinfo.ts @@ -1,7 +1,6 @@ -import { MessageEmbed } from 'discord.js'; +import { MessageEmbed, Message } from 'discord.js'; import { BotCommand } from '../../lib/extensions/BotCommand'; import { duration } from 'moment'; -import { BotMessage } from '../../lib/extensions/BotMessage'; export default class BotInfoCommand extends BotCommand { constructor() { @@ -15,7 +14,7 @@ export default class BotInfoCommand extends BotCommand { }); } - public async exec(message: BotMessage): Promise { + public async exec(message: Message): Promise { const owners = (await this.client.util.mapIDs(this.client.ownerID)) .map((u) => u.tag) .join('\n'); -- cgit