ignore bots in ddp bridge
This commit is contained in:
parent
aa88c68a9a
commit
57f8615f20
|
@ -45,6 +45,6 @@ function send2ddp(message) {
|
||||||
}
|
}
|
||||||
|
|
||||||
dClient.on("local_message", message => {
|
dClient.on("local_message", message => {
|
||||||
if (message.channel.id != "508890674138054667") return;
|
if (message.channel.id != "508890674138054667" || message.author.bot) return;
|
||||||
send2ddp(`${message.member.displayName}#${message.author.discriminator}: ${message.cleanContent}`);
|
send2ddp(`${message.member.displayName}#${message.author.discriminator}: ${message.cleanContent}`);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue