Skip to content

Commit

Permalink
Update src/managers/MemberManager.ts
Browse files Browse the repository at this point in the history
Co-authored-by: not-so-smart <43360094+not-so-smart@users.noreply.github.com>
  • Loading branch information
striker4150 and not-so-smart authored Sep 7, 2023
1 parent 93222a1 commit 158a426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/MemberManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class MemberManager extends BaseManager<Member, typeof Member> im
)
const formerMember = new FormerMember(this.client, this.group, member.user, member, FormerMemberState.Removed)
this.former._upsert(formerMember)
this.group.members._remove(member)
this._remove(member)
return formerMember
}
}

0 comments on commit 158a426

Please sign in to comment.