LEO TOOLKIT
LEO TOOLKIT Setup
Configure the Discord client, backend URL, shared API secret, guild sync, and initial department.
Quick start#
- Deploy or obtain a compatible LEO TOOLKIT backend API.
- Create the Discord application and enable Server Members Intent.
- Place the bot role above every department and rank role it must manage.
- Configure the bot environment variables, including the backend URL and shared API secret.
- Start the bot with
python main.py. - Create the Google Cloud service account on the backend and share each spreadsheet with its email.
- Run
/department add, then/department test, then/department refresh_ranks.
Architecture#
Discord User↓Discord Bot↓LEO TOOLKIT Backend API↓Google Sheets API↓Department Spreadsheet