refactor(modmail): centralize config into single /modmail config panel
Some checks failed
CI/CD / lint (push) Has been cancelled
CI/CD / test (push) Has been cancelled
CI/CD / deploy (push) Has been cancelled

- Remove 5 redundant commands (setup, addcategory, removecategory, enable, disable)
- Single /modmail config opens interactive Components V2 panel
- Channel select for ticket category, role select for staff, channel select for logs
- Toggle enable/disable button
- Categories sub-panel: add via modal, remove via select
- Fix lint (unused imports/vars, contextlib.suppress) + ruff format
This commit is contained in:
Mathis 2026-09-19 15:30:07 +02:00
parent f505b6c552
commit b736f4cc8b
6 changed files with 251 additions and 157 deletions

View file

@ -2,8 +2,6 @@ import asyncio
import logging
import sys
from dotenv import load_dotenv
import config
from bot import VisionBot