fix TS errors

This commit is contained in:
MathMan05
2024-09-19 14:53:54 -05:00
parent 4e0fa3fdbb
commit 6a7a7a15e4
9 changed files with 20 additions and 16 deletions

View File

@@ -94,7 +94,7 @@ static async resolveMember(
const promise = new Promise<Member | undefined>(async res=>{
const membjson = await membpromise;
if(membjson === undefined){
return res();
return res(undefined);
}else{
const member = new Member(membjson, guild);
const map = guild.localuser.presences;