From c1ff545bf1c018875f5a9ceb828c9f84ed391920 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 14 Aug 2023 18:11:46 +0100 Subject: [PATCH] fix(DMChannel): Correct partial typo (#9773) fix(DMChannel): correct partial typo --- packages/discord.js/src/structures/DMChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/src/structures/DMChannel.js b/packages/discord.js/src/structures/DMChannel.js index 0ade9aa0491f..2c917c454fde 100644 --- a/packages/discord.js/src/structures/DMChannel.js +++ b/packages/discord.js/src/structures/DMChannel.js @@ -38,7 +38,7 @@ class DMChannel extends BaseChannel { */ this.recipientId = recipient.id; - if ('username' in recipient || this.client.options.partials.includes(Partials.Users)) { + if ('username' in recipient || this.client.options.partials.includes(Partials.User)) { this.client.users._add(recipient); } }