All the power of discord.js, zero caching. This library modifies discord.js's internal classes and functions in order to give you full control over its caching behaviour.
hey there,
which version are you using? If v3, which client options are you using?
Checking permissions requires roles to be cached (cacheRoles:true in v3).
Also, instead of getting the target user and then converting it to a member, get the member directly from the message (message.mentions.members.first()) otherwise it will try to look for it in the member cache and likely not find it.
hey there, which version are you using? If v3, which client options are you using? Checking permissions requires roles to be cached (
cacheRoles:true
in v3). Also, instead of getting the target user and then converting it to a member, get the member directly from the message (message.mentions.members.first()
) otherwise it will try to look for it in the member cache and likely not find it.