various fixes
This commit is contained in:
parent
ab842f8f9b
commit
ee9483f350
6 changed files with 20 additions and 18 deletions
|
@ -40,6 +40,7 @@ class Member extends SnowFlake {
|
|||
if (this.localuser.userMap.has(this?.id)) {
|
||||
this.user = this.localuser.userMap.get(this?.id);
|
||||
}
|
||||
this.roles.sort((a, b) => { return (this.guild.roles.indexOf(a) - this.guild.roles.indexOf(b)); });
|
||||
}
|
||||
get guild() {
|
||||
return this.owner;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue