Skip to content

Commit

Permalink
User constructor requires client reference (sometimes) (#1777)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brainicism authored Dec 8, 2023
1 parent 9406c52 commit 4f328ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/discord_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export async function fetchUser(
}

// update cache
client.users.update(user);
client.users.update(user, client);
return user;
}

Expand Down

0 comments on commit 4f328ff

Please sign in to comment.