various fixes
This commit is contained in:
parent
ab842f8f9b
commit
ee9483f350
6 changed files with 20 additions and 18 deletions
|
@ -42,6 +42,7 @@ class Member extends SnowFlake{
|
|||
if(this.localuser.userMap.has(this?.id)){
|
||||
this.user=this.localuser.userMap.get(this?.id) as User;
|
||||
}
|
||||
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