ignore bots in ddp bridge

This commit is contained in:
Lamp 2018-11-04 23:32:05 -08:00
parent aa88c68a9a
commit 57f8615f20
No known key found for this signature in database
GPG Key ID: 0F1F8704BEDE369E
1 changed files with 1 additions and 1 deletions

View File

@ -45,6 +45,6 @@ function send2ddp(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}`);
});