Put in order · Vibe coding with Claude Code course · Module 9: Discord clone

Ordering: Checking a member's role

Arrange the check whether a member has a given role: member.roleIds.includes(role.id)

Items to put in order

  • role.id
  • member.roleIds
  • .includes(
  • )

You can check the correct answer by solving this task in the CodeWorlds game.