Add ReactToMessage method that publishes a NIP-25 kind:7 reaction event with content 👀, scoped to the same channel via the h tag and pointing at the inbound message via the e tag. The undo function is a no-op since NIP-25 does not define a standard way to remove a reaction. This enables the BaseChannel auto-reaction pipeline: when a message arrives on a Buzz channel, the bot reacts with 👀 before processing, giving the Emperor visual confirmation that the message was received. |
||
|---|---|---|
| .. | ||
| buzz.go | ||
| buzz_test.go | ||
| handler.go | ||
| init.go | ||