#How to check the user roles in interactionCreate

1 messages · Page 1 of 1 (latest)

cunning peak

i was trying interaction.member?.roles.cache.has however it says Property 'cache' does not exist on type 'string[] | GuildMemberRoleManager'. what is the proper way to check roles in an interaction?