update user profile stuff
This commit is contained in:
parent
3eaa1c425e
commit
ae76f2636e
11 changed files with 544 additions and 182 deletions
|
@ -94,7 +94,6 @@ class Member{
|
|||
}
|
||||
const prom1= fetch(guild.info.api.toString()+"/users/"+id+"/profile?with_mutual_guilds=true&with_mutual_friends_count=true&guild_id="+guild.snowflake,{headers:guild.headers})
|
||||
prom1.catch(_=>{console.log(_)})
|
||||
guild.localuser.resolvemember(id?.id,guild.id);
|
||||
const promoise=prom1.then(_=>_.json()).then(json=>{
|
||||
const memb=new Member(json,guild);
|
||||
Member.already[guild.id][id]=memb;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue