Repository navigation
Give inside a Slack conversation: bot mentions and reactions - #8
Conversation
|
Fixed in 3c4c13e. Contract decision: a sender may give only once from the same Slack message, regardless of which configured emoji is used (or whether the original give was a mention). This explicitly replaces the per-emoji RL2 rule in Changes:
Main preservation: Verification:
Not verified locally: repository-wide build/vet/tests, web checks, a real Slack workspace, or any live installation. Please require the remaining CI checks to pass before merging. Release/catalog publication, installation upgrade, Slack app reinstall for new scopes, and live inbound/workspace checks remain post-merge work. |
What
@Peer Bonus @recipient 30 messagegives points with the message. Without an amount the bot asks the sender (ephemeral, in the thread) with point buttons; the choice gives. Up to 5 recipients, all-or-nothing.POST /slack/events(Events API:app_mention,reaction_added), gated by a newgiveInConversationsetting.app_mentions:read,reactions:readandevent_subscriptions.catalog/entry.yamldeclares theslackinbound endpoint. It was missing, so Slack could not reach/slack/*on catalog installs. The admin API now reads the endpoint URL from the Platform API instead of always returninginbound: null.users.info,chat.getPermalink,users.lookupByEmail,conversations.list) are sent form-encoded; they were sent as JSON.Verified
go build ./... && go vet ./... && go test ./... -count=1with a real PostgreSQL: all packages pass.web:bun run typecheck,bun run test(164 pass); admin page checked in a browser against the mock.Not verified