aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-06 21:21:44 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-06 21:21:44 -0500
commitc3ae31a7539ecb5455df811a2e1d5603beb5c9ae (patch)
tree29cd36183058f24235257d46df5fd4a2e3b18f09 /src
parentf81a09b081b21c14cabf491a011de43f411c3fd8 (diff)
downloadtanzanite-c3ae31a7539ecb5455df811a2e1d5603beb5c9ae.tar.gz
tanzanite-c3ae31a7539ecb5455df811a2e1d5603beb5c9ae.tar.bz2
tanzanite-c3ae31a7539ecb5455df811a2e1d5603beb5c9ae.zip
fix BushSlashMessage typings
Diffstat (limited to 'src')
-rw-r--r--src/lib/extensions/discord-akairo/BushSlashMessage.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/extensions/discord-akairo/BushSlashMessage.ts b/src/lib/extensions/discord-akairo/BushSlashMessage.ts
index d342ea6..0860964 100644
--- a/src/lib/extensions/discord-akairo/BushSlashMessage.ts
+++ b/src/lib/extensions/discord-akairo/BushSlashMessage.ts
@@ -1,4 +1,5 @@
import {
+ BushCommandHandler,
BushGuildTextBasedChannel,
type BushClient,
type BushCommandUtil,
@@ -8,14 +9,15 @@ import {
type BushUser
} from '#lib';
import { AkairoMessage } from 'discord-akairo';
-import { type ChatInputCommandInteraction, type ContextMenuCommandInteraction } from 'discord.js';
+import { type ChatInputCommandInteraction } from 'discord.js';
export class BushSlashMessage extends AkairoMessage {
public declare client: BushClient;
- public declare util: BushCommandUtil<BushSlashMessage>;
+ public declare util: BushCommandUtil<BushSlashMessage> & { handler: BushCommandHandler };
public declare author: BushUser;
public declare member: BushGuildMember | null;
- public constructor(client: BushClient, interaction: ChatInputCommandInteraction | ContextMenuCommandInteraction) {
+ public declare interaction: ChatInputCommandInteraction;
+ public constructor(client: BushClient, interaction: ChatInputCommandInteraction) {
super(client, interaction);
}
}