I want people to be able to click on the NPC, and it redirects them to our website, but I am not sure how I am supposed to make it work.

/npc cmd add -l tellraw %player% '{"text":"\nel[ CLICK HERE TO VOTE]\n","clickEvent":{"action":"open_url","value":"https://google.com"}}'

I used the following command from ChatGPT, but it doesn't make it click.

It's quite urgent, your help would be greatly appreciated

URGENT! Need help with Citizens 2 Mod