Setting up Maubot

Revision as of 05:34, 7 September 2024 by Maintenance script (talk | contribs) (Initial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Maubot Documentation

Used for Moderations GitHub Repo Context here Project Documentation

Plugins Available Here

Admin Dashboard: matrix.irregularchat.com/_matrix/maubot/

Muabot access token with SSO

https://docs.mau.fi/maubot/usage/cli/auth.html

<syntaxhighlight lang="shell">## Launch an interactive shell in the maubot container sudo docker exec -it matrix-bot-maubot /bin/sh

You must login before auth

mbc login -u sac -s "https://matrix.irregularchat.com" -a homeserver -p passwordHERE


mbc auth -s https://matrix.irregularchat.com -h irregularchat.com -o --update-client -u bot.sac</syntaxhighlight> Output should be something like: Opening http://matrix-nginx-proxy:12080/_matrix/client/v3/login/sso/redirect?redirectUrl=https://matrix.irregularchat.com/_matrix/maubot/v1/client/auth_external_sso/complete/oaoaoa8298

Open a browser and replace http://matrix-nginx-proxy:12080 with https://matrix.irregularchat.com and login with SSO

<syntaxhighlight lang="shell"># inside of the git cloned directory zip -9r plugin-name.mbp *</syntaxhighlight>