Lost Bot Member due to Cache Options?
Bit of a biggie, I had an error:
TypeError: Cannot read properties of null (reading 'bitfield')
In this code:
I think it's because I changed my caching to:
I suspect this lost me the bot Member in the cache...? and thus members.me
So I've updated to:
Does this all checkout to anyone, I have applied this change but am curious if this could have happened in the firdt place.
If not, whst caused the error? 🤔6 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Node v16.19.0
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
That's a good question, what does
<Channel>.permissionsFor(null/undefined)
return 🤔
I guess it would return null also...Yes, it would return null if something that is not a RoleResolvable/UserResolvable is not passed
Yup, I yeeted the bot then, woops