mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 04:10:59 -05:00
Why is this here?
This commit is contained in:
parent
073d1c07d1
commit
9c7cc4d5b8
@ -14,7 +14,7 @@ export default class Response {
|
||||
} as const
|
||||
|
||||
static create(client:TClient, message:Discord.Message, channel:Discord.Snowflake, keyword:string) {
|
||||
if (message.channelId != channel || message.type != 0) throw new Error('Invalid channel or message type.');
|
||||
if (message.channelId != channel || message.type != 0) return;
|
||||
this.respond(client, message, keyword);
|
||||
}
|
||||
static respond(client:TClient, message:Discord.Message, responseKeyword:string) {
|
||||
|
Loading…
Reference in New Issue
Block a user