mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
fix(DMChannel): Correct partial typo (#9773)
fix(DMChannel): correct partial typo
This commit is contained in:
@@ -38,7 +38,7 @@ class DMChannel extends BaseChannel {
|
|||||||
*/
|
*/
|
||||||
this.recipientId = recipient.id;
|
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);
|
this.client.users._add(recipient);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user