Arib Alam
DIAdiscord.js - Imagine an app
•Created by Arib Alam on 4/12/2024 in #djs-questions
Bug With difference() Method in Collections
Hi, if I am understanding the documentation correctly, there appears to be a bug with the difference() method of the collections class. The example given and the descriptions states that the method should return a new collection showing what is present in the first collection, but not the second. However when I try to run it, it first returns what doesn't exists in the first collection and then what does exists.
Given Example
My Code
D.js Version:
[email protected]
9 replies