mirror of
https://github.com/williamkray/maubot-invite.git
synced 2024-10-01 01:25:35 -04:00
Maubot plugin for generating invite tokens via matrix-registration
base-config.yaml | ||
invite.py | ||
LICENSE | ||
maubot.yaml | ||
README.md |
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!
to check the status of a specific token, use
!invite status MyTokenName
and similarly to list all tokens in the database, use
!invite list
to revoke a token, use
!invite revoke MyTokenName
please note: i haven't made the json output of those responses pretty. sorry not sorry.