mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-13 15:27:16 +03:00
Register users in message mentions when tracking
This commit is contained in:
parent
b6286d619c
commit
54a1ffddbf
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user