From b6e2f7f8abd515e255e1a57dfb0a20d2a40428e3 Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sat, 17 Jun 2023 23:03:16 +0700 Subject: [PATCH] fix: #711 --- src/structures/User.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/User.js b/src/structures/User.js index a2de2ea..c570104 100644 --- a/src/structures/User.js +++ b/src/structures/User.js @@ -377,7 +377,7 @@ class User extends Base { * @returns {Promise} */ setNickname(nickname) { - return this.client.user.setNickname(this.id, nickname); + return this.client.relationships.setNickname(this.id, nickname); } /**