Six people were detained after Raleigh officers said gunshots were fired in a neighborhood Monday night.