Register users in message mentions when tracking

This commit is contained in:
chylex 2016-10-27 17:06:05 +02:00
parent b6286d619c
commit 54a1ffddbf

View File

@ -166,6 +166,10 @@ SAVEFILE.prototype.convertToMessageObject = function(discordMessage){
if (discordMessage.mentions.length > 0){
flags |= 2;
for(var user of discordMessage.mentions){
this.findOrRegisterUser(user.id, user.username);
}
}
if (flags !== 0){