mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Fix starting PMs
This commit is contained in:
@@ -584,7 +584,7 @@ export default class InternalClient {
|
||||
return Promise.reject(new Error("Unable to resolve resUser to a User"));
|
||||
}
|
||||
// start the PM
|
||||
return this.apiRequest("post", Endpoints.USER_CHANNELS(this.user.id), true, {
|
||||
return this.apiRequest("post", Endpoints.ME_CHANNELS, true, {
|
||||
recipient_id: user.id
|
||||
})
|
||||
.then(res => {
|
||||
|
||||
Reference in New Issue
Block a user