diff --git a/src/structures/User.js b/src/structures/User.js index 08ce895a9c96..e7f5b9228bd9 100644 --- a/src/structures/User.js +++ b/src/structures/User.js @@ -188,7 +188,7 @@ class User { * @readonly */ get dmChannel() { - return this.client.channels.filter(c => c.type === 'dm').find(c => c.recipient.id === this.id); + return this.client.channels.find(c => c.type === 'dm' && c.recipient.id === this.id); } /**