Mercurial > prosody-modules
view mod_muc_adhoc_bots/README.markdown @ 5827:f76909ec1300
mod_http_admin_api: metrics: Filter out a value that is commonly nan at startup
The upload bytes count is typically nan at startup, which cannot legally be
encoded in JSON.
I haven't assessed whether any other metrics might emit nan under other
circumstances, but this fixes the most visible issue right now.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 13 Jan 2024 12:03:15 +0000 |
parents | 7a4a6ded2bd6 |
children |
line wrap: on
line source
--- labels: - Stage-Alpha summary: Install adhoc command bots in MUCs --- # Introduction This module allows you to "install" bots on a MUC service (via config for now, via adhoc command and on just one MUC to follow). All the adhoc commands defined on the bot become adhoc commands on the service's MUCs, and the bots can send XEP-0356 messages to the MUC to send messages as any participant. # Configuration List all bots to install. You must specify full JID. adhoc_bots = { "some@bot.example.com/bot" } And enable the module on the MUC service as usual modules_enabled = { "muc_adhoc_bots" }