diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-07 23:55:54 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-07 23:55:54 -0500 |
commit | 2bcf6828b67a6eb3c2bbff3892ce5ca53d00e713 (patch) | |
tree | 77d706d1d33c92eab7823c415629d14c0b887960 /src/listeners/message | |
parent | c3ae31a7539ecb5455df811a2e1d5603beb5c9ae (diff) | |
download | tanzanite-2bcf6828b67a6eb3c2bbff3892ce5ca53d00e713.tar.gz tanzanite-2bcf6828b67a6eb3c2bbff3892ce5ca53d00e713.tar.bz2 tanzanite-2bcf6828b67a6eb3c2bbff3892ce5ca53d00e713.zip |
started working on highlight command
Diffstat (limited to 'src/listeners/message')
-rw-r--r-- | src/listeners/message/highlight.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/listeners/message/highlight.ts b/src/listeners/message/highlight.ts new file mode 100644 index 0000000..25c8364 --- /dev/null +++ b/src/listeners/message/highlight.ts @@ -0,0 +1,15 @@ +import { BushListener, type BushClientEvents } from '#lib'; + +export default class HighlightListener extends BushListener { + public constructor() { + super('highlight', { + emitter: 'client', + event: 'messageCreate', + category: 'message' + }); + } + + public override async exec(...[message]: BushClientEvents['messageCreate']) { + if (!message.inGuild()) return; + } +} |