#Member.Roles returning no role

1 messages · Page 1 of 1 (latest)

reef dagger
#

Why member.roles won't return any role? it also returns 0 as a count, i wanna check if user has specific role with lambda.
I also has 2 roles but it returns 0

boreal oak
reef dagger
#

so i need to use GetGuild then GetMember? why is it so hard why i cant take it from member.roles?

devout tapir
#

I'm not sure that's what Waffen was implying

boreal oak
reef dagger
#

Yes i turned on Members intents in dashboard/client settings

#

so my intents is ok

boreal oak
reef dagger
#

Okay thanks, i'll check out the intents one more time

boreal oak
#

Probably bot just can't acces roles at all. So we need to check this.

Bot must return you member's roles with InteractionContext

reef dagger
#

Im already contacting with interactioncontext.member.roles

boreal oak