Clarify that the bot metadata tag should be a stringified boolean value of true or false since tag values are always strings

This commit is contained in:
Terry Yiu 2025-02-09 21:03:26 -05:00
parent 6e1f351ccd
commit c80e36006a
No known key found for this signature in database
GPG Key ID: 108645AE8A19B71A

2
24.md
View File

@ -16,7 +16,7 @@ These are extra fields not specified in NIP-01 that may be present in the tags o
- `display_name`: an alternative, bigger name with richer characters than `name`. `name` should always be set regardless of the presence of `display_name` in the metadata.
- `website`: a web URL related in any way to the event author.
- `banner`: an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen.
- `bot`: a boolean to clarify that the content is entirely or partially the result of automation, such as with chatbots or newsfeeds.
- `bot`: a stringified boolean of "true" or "false" (case insensitive) to clarify that the content is entirely or partially the result of automation, such as with chatbots or newsfeeds.
### Deprecated fields