code: def set_member_roles(self, guild_id: int, member_id: int, roles: List[int]):
          
          self._query(f'guilds/{guild_id}/members/{member_id}', 'PATCH', {'roles': roles}, expected_status=204)
docs: Set the member's roles
  
          This method takes a list of **role ids** that you want the user to have. This
          method will **overwrite** all of the user's current roles with the roles in
          the passed list of roles.
  
          When calling this method, be sure that the list of roles that you're setting
          for this user is complete, not just the roles that you want to add or remove.
          For assistance in just adding or just removing roles, set the ``add_member_roles``
          and ``remove_member_roles`` methods.
  
          Args:
              guild_id: snowflake id of the guild
              member_id: snowflake id of the member
              roles: list of snowflake ids of roles to set