Skip to content

Quips for commands aimed at the bot itself - #5

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1791511595-bot-self-quips
Open

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1791511595-bot-self-quips

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Commands aimed at Matrimony's own account now get quips instead of dead ends, in the same style as the existing self-target replies ("You can't marry yourself, as much as you may want to.").

  • _send_proposal intercepts marry/adopt/makeparent when the target is the bot itself and replies with a random line from _SELF_PROPOSAL_QUIPS — previously these created proposals the bot could never accept, so they just sat until expiry.
  • The generated fun commands (hug, pat, poke, stab, ...) answer "<author> <verb> me. <quip> <emoji>" with a random line from _SELF_FUN_QUIPS when booping the bot, while still fetching the action GIF.
  • block on the bot replies "You can't block me. I'm already family." and relationship involving the bot replies "Me? I'm honorary family to everyone." when unrelated.
  • New _is_me(bot, user) helper; other-bot proposals are unaffected (they still go through the normal proposal flow).
  • README gets a bullet under "Bot accounts are first-class"; tests/test_dispatch.py gains 8 tests covering the quips plus the unchanged other-bot/other-user paths.

Example replies:

!matr marry @Matrimony  -> "I'm flattered, but I'm already married to my job."
!matr pat @Matrimony    -> "@you pats me. Good. I earned it. :hand_splayed:"

Link to Devin session: https://app.devin.ai/sessions/638d22e91c404258abafe65097954722
Open in Devin Desktop: https://app.devin.ai/desktop/session/638d22e91c404258abafe65097954722?variant=devin
Requested by: @CommunityPoke

Proposals sent to the bot (marry/adopt/makeparent) could never be
accepted - the bot can't click its own buttons - so they now get a
random decline quip instead of a dangling proposal. Fun commands
(hug, pat, poke, ...) aimed at the bot fire back a line, and block
and relationship get their own replies for bot targets too.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant