Bridged rooms from Discord in our Matrix servers need to be listed manually in the #bonfire.link:bonfire.link space. We can do this automatically in with Ansible in the matrix role.
The tasks would roughly involve:
- Create an admin user in the matrix server.
- Create a scheduled task that
- Dumps a list of all currently bridged Discord rooms to be displayed in the community page.
- Creates/configures a community programmatically (it's possible that it can only be done through HTTP API with admin user credentials).
Hint:
- This should probably be done in
roles/matrix/tasks/community.yml.