From c260809dadd1f45107a2b70ab6cb6c3ce12d1160 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Tue, 6 Jul 2021 18:30:23 -0400 Subject: kick command --- src/commands/info/ping.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/info/ping.ts') diff --git a/src/commands/info/ping.ts b/src/commands/info/ping.ts index c1be3fb..804ede2 100644 --- a/src/commands/info/ping.ts +++ b/src/commands/info/ping.ts @@ -1,5 +1,5 @@ import { Message, MessageEmbed } from 'discord.js'; -import { BushCommand, BushSlashMessage } from '../../lib'; +import { BushCommand, BushMessage, BushSlashMessage } from '../../lib'; export default class PingCommand extends BushCommand { public constructor() { @@ -17,7 +17,7 @@ export default class PingCommand extends BushCommand { }); } - public async exec(message: Message): Promise { + public async exec(message: BushMessage): Promise { const sentMessage = (await message.util.send('Pong!')) as Message; const timestamp: number = message.editedTimestamp ? message.editedTimestamp : message.createdTimestamp; const botLatency = `\`\`\`\n ${Math.floor(sentMessage.createdTimestamp - timestamp)}ms \`\`\``; -- cgit