dsh-plugin-trpg: A TRPG sidekick for the DSH QQ Bot

dsh-plugin-trpg is a native DSH plugin maintained by NormalAorii that divides TRPG inquiries into 17 tools. A local knowledge base handles quick rule lookups, module recommendations, random character creation, dice rolling judgments, and terminology/guides. It performs real-time scraping to supplement DriveThruRPG new releases, Chaosium updates, EN World/Paizo/Modiphius news, and hot posts from Chinese and English TRPG communities, falling back to local snapshots with source attribution when scraping fails. The rule library, searchable by rule name, includes 10 systems and a list of 33 community channels. It can render 1080px-wide Chinese text-and-image PNG cards and send them via `qqbot_send_file`, provided Windows and Chinese fonts are installed. It uses the DSH bundle mechanism for installation and includes a smoke test script for standalone testing. The text lists known limitations such as Cloudflare 403 errors and the dependence on the host's web service for Chaosium.

Read More