aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord-akairo/BushSlashMessage.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord-akairo/BushSlashMessage.ts')
-rw-r--r--src/lib/extensions/discord-akairo/BushSlashMessage.ts34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/lib/extensions/discord-akairo/BushSlashMessage.ts b/src/lib/extensions/discord-akairo/BushSlashMessage.ts
deleted file mode 100644
index 0860964..0000000
--- a/src/lib/extensions/discord-akairo/BushSlashMessage.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import {
- BushCommandHandler,
- BushGuildTextBasedChannel,
- type BushClient,
- type BushCommandUtil,
- type BushGuild,
- type BushGuildMember,
- type BushTextBasedChannel,
- type BushUser
-} from '#lib';
-import { AkairoMessage } from 'discord-akairo';
-import { type ChatInputCommandInteraction } from 'discord.js';
-
-export class BushSlashMessage extends AkairoMessage {
- public declare client: BushClient;
- public declare util: BushCommandUtil<BushSlashMessage> & { handler: BushCommandHandler };
- public declare author: BushUser;
- public declare member: BushGuildMember | null;
- public declare interaction: ChatInputCommandInteraction;
- public constructor(client: BushClient, interaction: ChatInputCommandInteraction) {
- super(client, interaction);
- }
-}
-
-export interface BushSlashMessage extends AkairoMessage {
- get channel(): BushTextBasedChannel | null;
- get guild(): BushGuild | null;
- inGuild(): this is BushSlashMessageInGuild & this;
-}
-
-interface BushSlashMessageInGuild {
- guild: BushGuild;
- channel: BushGuildTextBasedChannel;
-}