#AwesomeBFM
1 messages · Page 1 of 1 (latest)
TypeError: Cannot read properties of undefined (reading 'highest')
do youthink you could show your full code
const member = target.member
it is a large file that is the only issue
what would this do
?
and what is member
in itself, the option only removes the user as far as I can see.
?
can you explain a bit deeper?
Suppose that message.author is interaction.user which is the option
there you would only get the main info for a user
But message.member or interaction.member will get the array of roles.
hmmm, I am still not following. How would that look in this senerio:
if(target.roles.highest.position < member.roles.highest.position)
oh I get it
well try trying target.member ...etc.
ok thank you
💪 
If you need my help tell me
it appears to be working!