https://github.com/nostr-protocol/nips/blob/master/36.md
There’s also https://github.com/nostr-protocol/nips/blob/master/32.md which @nos.social made a bot for. Don’t remember the name of the bot though.