mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
Fix Collection.exists (#566)
This commit is contained in:
parent
4f130a1a58
commit
60a1ba3088
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ class Collection extends Map {
|
|||
* }
|
||||
*/
|
||||
exists(key, value) {
|
||||
return Boolean(this.get(key, value));
|
||||
return Boolean(this.find(key, value));
|
||||
}
|
||||
|
||||
_arrayMethod(method, args) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue