diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-14 22:51:48 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-14 22:51:48 -0400 |
commit | d055e0dbb86ef7fd4ee96a1531b51181e825fb4b (patch) | |
tree | e2ed9e956f2d8167e7f225383f9917e66d2a2803 /src/lib/extensions/BushMessage.ts | |
parent | 335f7c30994fc8c4e787f407dfd4c2de63b400e3 (diff) | |
download | tanzanite-d055e0dbb86ef7fd4ee96a1531b51181e825fb4b.tar.gz tanzanite-d055e0dbb86ef7fd4ee96a1531b51181e825fb4b.tar.bz2 tanzanite-d055e0dbb86ef7fd4ee96a1531b51181e825fb4b.zip |
made a few changes
Diffstat (limited to 'src/lib/extensions/BushMessage.ts')
-rw-r--r-- | src/lib/extensions/BushMessage.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/extensions/BushMessage.ts b/src/lib/extensions/BushMessage.ts new file mode 100644 index 0000000..e7146f6 --- /dev/null +++ b/src/lib/extensions/BushMessage.ts @@ -0,0 +1,11 @@ +import { DMChannel, Message, NewsChannel, TextChannel } from 'discord.js'; +import { BushClient } from './BushClient'; + +export class BushMessage extends Message { + declare client: BushClient; + constructor(client: BushClient, data: unknown, channel: TextChannel | DMChannel | NewsChannel) { + super(client, data, channel); + this.client = client; + this.channel = channel; + } +} |