Skip to content

Commit

Permalink
fix: member roles returning APIRole in cache
Browse files Browse the repository at this point in the history
  • Loading branch information
liy77 committed Mar 17, 2024
1 parent db41318 commit 4d4022a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/darkcord/src/resources/Member.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class UncachedClientMemberError extends Error {

export class MemberRoles {
private _roles: string[];
cache: Cache<APIRole | Role>;
cache: Cache<Role>;
constructor(public guild: Guild, roles: string[]) {
Object.defineProperty(this, "_roles", {
value: roles,
Expand Down

0 comments on commit 4d4022a

Please sign in to comment.