mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Guest members could have empty roles huh
This commit is contained in:
parent
10e3d39acf
commit
ec6af49f5b
@ -1202,8 +1202,10 @@
|
||||
if (usr.avatar_url) {
|
||||
parent.find(".authoravatar").prop("src", usr.avatar_url);
|
||||
}
|
||||
if (usr.roles) {
|
||||
parent.attr("discord_userroles", usr.roles.join(" "));
|
||||
}
|
||||
parent.attr("discord_userid", usr.id);
|
||||
parent.attr("discord_userroles", usr.roles.join(" "));
|
||||
}
|
||||
collapse_messages();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user