Is this tellraw command correct and if so, what versions will it work on?
tellraw @p ["",{text:"Would you rather, "},{text:"A",bold:true,color:"red",click_event:{action:"run_command",command:"say A selected!"}},{text:" or "},{text:"B",bold:true,color:"blue",click_event:{action:"run_command",command:"say B selected!"}},{text:"?"}]
This is supposed to say in chat “would you rather, A or B?” and A and B are supposed to both be clickable and run commands when clicked. The generator I used for this said it should work on 1.21.5 & 1.21.6. I tried it on both and the message showed up in chat but clicking did nothing.