Merge development into main: Multi-guild support + fixes #5

Merged
k.eaven merged 4 commits from development into main 2026-11-03 10:25:34 +00:00
Owner

Summary

This PR merges the development branch into main, bringing multi-guild support and several fixes.

Changes

Features

  • Multi-guild support implementation (commit bec06bd):
    • Per-guild server tracking and embed isolation
    • Role-based access control per guild ("Game Server User" role)
    • Multi-guild command handling with guild validation
    • Updated Discord permission validation per guild
    • Embed storage migration from single-guild to multi-guild format

Fixes

  • chore: Remove stray file (commit 9a3122a)
  • chore: correct errors in README (commit 204cc67): Fixed note from "multiple Pterodactyl domains" to "singular Pterodactyl or Pelican domain with multiple Discord guilds"
  • Format resource usage denominators left-aligned in embeds (commit f3f7bb9): Changed format_limit() to use left-alignment for cleaner visual formatting

Testing

  • All 33 Pterodisbot tests pass
  • All 19 APIcord tests pass
  • Linting (flake8, isort, black) passes

Deployment Notes

  • Backwards compatible with existing single-guild deployments
  • Persistent volume paths unchanged (logs/, embed/)
  • Docker builds work with existing configurations
  • Embed locations automatically migrate on first run
## Summary This PR merges the `development` branch into `main`, bringing multi-guild support and several fixes. ## Changes ### Features - **Multi-guild support implementation** (commit `bec06bd`): - Per-guild server tracking and embed isolation - Role-based access control per guild ("Game Server User" role) - Multi-guild command handling with guild validation - Updated Discord permission validation per guild - Embed storage migration from single-guild to multi-guild format ### Fixes - **chore: Remove stray file** (commit `9a3122a`) - **chore: correct errors in README** (commit `204cc67`): Fixed note from "multiple Pterodactyl domains" to "singular Pterodactyl or Pelican domain with multiple Discord guilds" - **Format resource usage denominators left-aligned in embeds** (commit `f3f7bb9`): Changed format_limit() to use left-alignment for cleaner visual formatting ## Testing - All 33 Pterodisbot tests pass - All 19 APIcord tests pass - Linting (flake8, isort, black) passes ## Deployment Notes - Backwards compatible with existing single-guild deployments - Persistent volume paths unchanged (`logs/`, `embed/`) - Docker builds work with existing configurations - Embed locations automatically migrate on first run
k.eaven added 4 commits 2026-11-03 10:13:32 +00:00
- Added multi-guild support with comma-separated AllowedGuildIDs config
- Per-guild embed tracking with isolated state
- Per-server action locking to prevent race conditions across guilds
- Cross-guild embed updates after power actions
- Debug logging for embed update triggers
- Fixed resource usage field formatting (brackets now properly closed)
- Updated config.ini.sample, generate_config.py for backward compatibility
- Updated README.md with multi-guild documentation
- Updated tests for multi-guild support
chore: Remove stray file
CI/CD Pipeline / Unit Tests (Python 3.11) (push) Successful in 39s
CI/CD Pipeline / Unit Tests (Python 3.12) (push) Successful in 35s
CI/CD Pipeline / Unit Tests (Python 3.13) (push) Successful in 39s
CI/CD Pipeline / Security Scanning (push) Successful in 29s
CI/CD Pipeline / Integration Tests (push) Successful in 23s
CI/CD Pipeline / Code Quality & Linting (push) Successful in 21s
CI/CD Pipeline / Generate Test Report (push) Successful in 4s
CI/CD Pipeline / Build Docker Image (push) Successful in 33s
CI/CD Pipeline / CI/CD Pipeline Status (push) Successful in 1s
9a3122a259
Chore: correct errors in README
CI/CD Pipeline / Unit Tests (Python 3.12) (push) Failing after 7s
CI/CD Pipeline / Unit Tests (Python 3.11) (push) Successful in 32s
CI/CD Pipeline / Security Scanning (push) Successful in 27s
CI/CD Pipeline / Build Docker Image (push) Skipped
CI/CD Pipeline / CI/CD Pipeline Status (push) Successful in 1s
CI/CD Pipeline / Unit Tests (Python 3.13) (push) Successful in 34s
CI/CD Pipeline / Integration Tests (push) Skipped
CI/CD Pipeline / Code Quality & Linting (push) Successful in 28s
CI/CD Pipeline / Generate Test Report (push) Successful in 3s
204cc6704c
Format resource usage denominators left-aligned in embeds
CI/CD Pipeline / Unit Tests (Python 3.11) (push) Successful in 2m48s
CI/CD Pipeline / Unit Tests (Python 3.12) (push) Successful in 2m46s
CI/CD Pipeline / Unit Tests (Python 3.13) (push) Successful in 2m46s
CI/CD Pipeline / Security Scanning (push) Successful in 32s
CI/CD Pipeline / Integration Tests (push) Successful in 24s
CI/CD Pipeline / Generate Test Report (push) Successful in 3s
CI/CD Pipeline / Code Quality & Linting (push) Successful in 24s
CI/CD Pipeline / Build Docker Image (push) Successful in 12m21s
CI/CD Pipeline / CI/CD Pipeline Status (push) Successful in 2s
CI/CD Pipeline / Unit Tests (Python 3.12) (pull_request) Successful in 30s
CI/CD Pipeline / Unit Tests (Python 3.13) (pull_request) Successful in 32s
CI/CD Pipeline / Code Quality & Linting (pull_request) Successful in 26s
CI/CD Pipeline / Security Scanning (pull_request) Successful in 23s
CI/CD Pipeline / Unit Tests (Python 3.11) (pull_request) Successful in 30s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 18s
CI/CD Pipeline / Build Docker Image (pull_request) Skipped
CI/CD Pipeline / Generate Test Report (pull_request) Successful in 3s
CI/CD Pipeline / CI/CD Pipeline Status (pull_request) Successful in 2s
f3f7bb9c4a
- Changed format_limit() in _add_resource_fields() to use left-alignment (<8) instead of right-alignment (>8)
- Denominators (limits/∞) now align left relative to the '/' separator
- Produces cleaner visual formatting in resource usage section
k.eaven merged commit 3743d19d9d into main 2026-11-03 10:25:34 +00:00
Sign in to join this conversation.