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,9 +1202,11 @@
|
|||||||
if (usr.avatar_url) {
|
if (usr.avatar_url) {
|
||||||
parent.find(".authoravatar").prop("src", usr.avatar_url);
|
parent.find(".authoravatar").prop("src", usr.avatar_url);
|
||||||
}
|
}
|
||||||
parent.attr("discord_userid", usr.id);
|
if (usr.roles) {
|
||||||
parent.attr("discord_userroles", usr.roles.join(" "));
|
parent.attr("discord_userroles", usr.roles.join(" "));
|
||||||
}
|
}
|
||||||
|
parent.attr("discord_userid", usr.id);
|
||||||
|
}
|
||||||
collapse_messages();
|
collapse_messages();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user