• exec/chat_llm_irc.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Fri Oct 2 15:10:06 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/4d40adac11c5860e42aa4f83
    Modified Files:
    exec/chat_llm_irc.js
    Log Message:
    chat_llm_irc: don't reply to other bots

    Another BBS's guru (PooBahLoo_Guru) and ours traded five replies in two
    minutes in #synchronet, each answering the other. Never speak to a nick
    that looks like a bot: "bot" or "guru" as a delimited part of the nick ("VERT_Guru", "bot-x"), a CamelCase part ("SomeBot", "GuruBob"), or a
    trailing suffix ("chatbot"). Plain substrings don't count, so nicks
    like "Abbott" or "Robotron" are still answered.

    Their lines still feed the channel context, and relays queued for them
    are still delivered.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sat Nov 21 13:22:03 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/30f529f82ad9da24411d0351
    Modified Files:
    exec/chat_llm_irc.js
    Log Message:
    chat_llm_irc: register the shutdown handler only when the bot runs

    js.on_exit("shutdown()") was registered whenever the file was loaded,
    including by a script that sets CHAT_LLM_IRC_NO_MAIN to use its helpers
    without starting the bot. shutdown() saves the ever-seen nick list,
    which such a script never loaded, so on exit it overwrote the live
    list (data/chat/<persona>/irc_seen.json) with an empty one. The
    handler is now registered with the rest of the bot's startup.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)