Closed stelar7 closed 5 years ago
Seems to be fixed by 864843febdd52daff0695e11d355c0de06069bc8, but we should check the entire codebase and replace .members
with .users
if thats the reason.
This is just because Discord.js doesn't guarantee that your local copy of members is 100% accurate by default. My experience with Orianna (which uses eris, but acts similar) is that on average you miss 10-20 members per server. People can get unlucky and not be loaded. You could consider using Guild.fetchMembers but it might slow you down ;).
Hmm, might be a good idea to get that replaced with a fetch function then indeed. The slowdown should not be an issue for this case, this is a call that happens a couple of times per day at most.
i.e
@instig#8737