Update UserManager.js

This commit is contained in:
Elysia 2024-01-18 17:46:42 +07:00
parent 41169bdd5c
commit 59e8332987

View File

@ -56,7 +56,7 @@ class UserManager extends CachedManager {
if (dmChannel && !dmChannel.partial) return dmChannel; 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: { data: {
recipients: [id], recipients: [id],
}, },