]> git.aero2k.de Git - urlbot-v3.git/commit
Selfreaction: random sweet mood with motivationals master
authorThorsten <mail@aero2k.de>
Thu, 19 Nov 2026 16:49:35 +0000 (17:49 +0100)
committerThorsten <mail@aero2k.de>
Thu, 19 Nov 2026 16:49:35 +0000 (17:49 +0100)
commitcd96fe400860d78857d343ce4c78ea99d6101073
treedd102defa6757705dc5ead6d75805fa450b27070
parentc1ed7d3f139d939eb5d58f88f97345077ddea494
Selfreaction: random sweet mood with motivationals

The grumpy bot now has a 5% chance per reaction to flip into an
unsettlingly affectionate mood for 15-90 minutes, replying from the new
motivationals.txt (and a SWEET_BOT prompt when OpenAI is configured).

Also passes ask_chatgpt args by keyword; SASSY_BOT was previously
passed positionally as the sender.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
src/distbot/plugins/fun.py
src/distbot/plugins/motivationals.txt [new file with mode: 0644]
src/distbot/plugins/openai.py
tests/test_unit/test_plugin.py