mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-04 18:10:08 +00:00
revert: "feat(Partials): add DMChannel/MessageReaction#fetch()… (#3468)
This reverts commit b0047c424b.
This commit is contained in:
@@ -211,7 +211,7 @@ class User extends Base {
|
||||
*/
|
||||
async createDM() {
|
||||
const { dmChannel } = this;
|
||||
if (dmChannel && !dmChannel.partial) return dmChannel;
|
||||
if (dmChannel) return dmChannel;
|
||||
const data = await this.client.api.users(this.client.user.id).channels.post({ data: {
|
||||
recipient_id: this.id,
|
||||
} });
|
||||
|
||||
Reference in New Issue
Block a user