File

mod_muc_adhoc_bots/README.md @ 6108:532bd77adf2d

mod_sasl2_sm: Add dependency to sasl2_bind2 as stated in the Readme to module and rockspec
author Menel <menel@snikket.de>
date Sat, 21 Dec 2024 21:25:15 +0100
parent 6003:fe081789f7b5
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" }