Maubot plugin for generating invite tokens via matrix-registration
Go to file
2020-12-08 11:28:34 -08:00
base-config.yaml initial commit 2020-12-08 11:11:02 -08:00
invite.py initial commit 2020-12-08 11:11:02 -08:00
LICENSE add readme and license 2020-12-08 11:28:34 -08:00
maubot.yaml initial commit 2020-12-08 11:11:02 -08:00
README.md add readme and license 2020-12-08 11:28:34 -08:00

this is a simple maubot plugin which interacts with a matrix-registration deployment and generates invite tokens.

modify the config to point to your matrix-registration url, include your admin secret to authenticate, and ensure that you're in the list of approved users.

once your bot is running, simply use the command

!invite generate

to generate a token with some generic text you can copy-paste when sharing it with your invitee!

future plans to manage existing tokens seem like a good idea, although i don't know if i'll have the energy to implement. PRs are welcome!