project-chimera:discord-ai-agent:usage
This is an old revision of the document!
Table of Contents
Mole Bot Usage
Mole is a Discord bot that synchronizes users, roles, and quotas between Discord, MySQL, and LDAP. It ensures that Discord role changes are reflected in LDAP groups, POSIX attributes, and storage quotas, while also triggering optional PHP hooks.
Features
- ✅ Sync Discord members into LDAP
- ✅ Manage users and groups in LDAP
- ✅ Maintain POSIX attributes for Linux users
- ✅ Store and restore Discord roles in MySQL
- ✅ Update LDAP quota attributes from role definitions
- ✅ Run PHP hooks on role changes
- ✅ Automatic synchronization on bot startup, role changes, and new members
Requirements
- Python 3
- Packages:
- discord.py
- python-dotenv
- pymysql
- ldap3
- A configured MySQL database
- An LDAP server
- A Discord bot token
- Optional: PHP script for role hooks
project-chimera/discord-ai-agent/usage.1756840476.txt.gz · Last modified: by daft_dutch