mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-22 00:14:41 +12:00
fix(DMChannel): Correct partial typo (#9773)
fix(DMChannel): correct partial typo
This commit is contained in:
parent
188877c50a
commit
c1ff545bf1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue