From 59e8332987c4abb0bc4e3bc27b5a182c9501542e Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Thu, 18 Jan 2024 17:46:42 +0700 Subject: [PATCH] Update UserManager.js --- src/managers/UserManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/UserManager.js b/src/managers/UserManager.js index ca72b10..1807f9b 100644 --- a/src/managers/UserManager.js +++ b/src/managers/UserManager.js @@ -56,7 +56,7 @@ class UserManager extends CachedManager { if (dmChannel && !dmChannel.partial) return dmChannel; } - const data = await this.client.api.users(this.client.user.id).channels.post({ + const data = await this.client.api.users['@me'].channels.post({ data: { recipients: [id], },