Member cache and tracking members
Hello, I wanted to ask if by default theres any sort of limit or sweeping or such with Sapphire. Secondly I wanted to know if by default any member joining/being removed would accurately be reflected in the member cache without fetching it again.
I also noticed that after i do a
<Guild>.member.fetch()
it returned exactly 10members less than are on the server if I check via Discords member list.Solution:Jump to solution
wanted to ask if by default theres any sort of limit or sweeping or such with Sapphire.there is not. This is controlled by discordjs. General rule of thumb is ask yourself: is it related to running commands or handling events? Then yes it's possibly Sapphire related. If not, then it's not....
2 Replies
Solution
wanted to ask if by default theres any sort of limit or sweeping or such with Sapphire.there is not. This is controlled by discordjs. General rule of thumb is ask yourself: is it related to running commands or handling events? Then yes it's possibly Sapphire related. If not, then it's not.
Secondly I wanted to know if by default any member joining/being removed would accurately be reflected in the member cache without fetching it again.Also DiscordJS related, I think it's yes but I never bothered with that part of DJS.
ah ok sorry for taking your time then. thanks for the answers though.