fix: discriminator missing from friend request call

This commit is contained in:
Paul Makles
2024-12-23 21:55:54 +00:00
parent 32f2cd49f0
commit 856ec34a04
+1 -1
View File
@@ -276,7 +276,7 @@ export class User {
*/
async addFriend() {
const user = await this.#collection.client.api.post(`/users/friend`, {
username: this.username,
username: this.username + "#" + this.discriminator,
});
return this.#collection.getOrCreate(user._id, user);