From e0ae0639d0b36c3cfd4065f791b95a32c1d7ea64 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sat, 1 Jan 2022 08:53:23 -0500 Subject: added autocomplete to a few commands and performed some fixes --- src/listeners/commands/commandCooldown.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/listeners/commands') diff --git a/src/listeners/commands/commandCooldown.ts b/src/listeners/commands/commandCooldown.ts index 74f6a47..92b0abe 100644 --- a/src/listeners/commands/commandCooldown.ts +++ b/src/listeners/commands/commandCooldown.ts @@ -1,4 +1,4 @@ -import { BushListener, type BushCommandHandlerEvents, type BushMessage } from '#lib'; +import { BushListener, type BushCommandHandlerEvents } from '#lib'; export default class CommandCooldownListener extends BushListener { public constructor() { @@ -21,6 +21,6 @@ export default class CommandCooldownListener extends BushListener { content: `⏳ This command is on cooldown for ${Math.round(remaining / 1000)} seconds.`, ephemeral: true }) - : await (message as BushMessage).react('⏳').catch(() => null); + : await message.react('⏳').catch(() => null); } } -- cgit