diff options
Diffstat (limited to 'src/lib/extensions/discord.js/BushMessage.ts')
-rw-r--r-- | src/lib/extensions/discord.js/BushMessage.ts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib/extensions/discord.js/BushMessage.ts b/src/lib/extensions/discord.js/BushMessage.ts new file mode 100644 index 0000000..e4380f7 --- /dev/null +++ b/src/lib/extensions/discord.js/BushMessage.ts @@ -0,0 +1,26 @@ +import { Message } from 'discord.js'; +import { BushClient } from '../discord-akairo/BushClient'; +import { BushCommandUtil } from '../discord-akairo/BushCommandUtil'; +import { BushDMChannel } from './BushDMChannel'; +import { BushGuild } from './BushGuild'; +import { BushGuildMember } from './BushGuildMember'; +import { BushNewsChannel } from './BushNewsChannel'; +import { BushTextChannel } from './BushTextChannel'; +import { BushThreadChannel } from './BushThreadChannel'; +import { BushUser } from './BushUser'; + +export class BushMessage extends Message { + public declare readonly client: BushClient; + public declare util: BushCommandUtil; + public declare readonly guild: BushGuild; + public declare readonly member: BushGuildMember; + public declare author: BushUser; + public declare channel: BushTextChannel | BushDMChannel | BushNewsChannel | BushThreadChannel; + public constructor( + client: BushClient, + data: unknown, + channel: BushTextChannel | BushDMChannel | BushNewsChannel | BushThreadChannel + ) { + super(client, data, channel); + } +} |