Commit graph

3 commits

Author SHA1 Message Date
32513485c3 fix(modmail): correct attachment handling + include initial message in transcript
Some checks failed
CI/CD / lint (push) Failing after 43s
CI/CD / test (push) Successful in 42s
CI/CD / deploy (push) Has been skipped
CI/CD / lint (pull_request) Failing after 43s
CI/CD / test (pull_request) Successful in 48s
CI/CD / deploy (pull_request) Has been skipped
- Fix discord.File.from_attachment (nonexistent) -> Attachment.to_file()
- Record initial ticket reason into transcript history
2026-09-19 15:30:34 +02:00
b736f4cc8b 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
2026-09-19 15:30:07 +02:00
f505b6c552 feat: modmail ticket system with Components V2 + HTML transcripts
Some checks failed
CI/CD / lint (push) Failing after 43s
CI/CD / test (push) Successful in 43s
CI/CD / deploy (push) Has been skipped
- DM-based modmail: user DMs bot -> ticket channel created
- Staff relay: messages in ticket -> DM to user
- Configurable categories via /modmail addcategory
- Setup via /modmail setup (category, staff role, log channel)
- Close command: /close or !close -> HTML transcript generated
- Components V2: Container, TextDisplay, Separator, persistent views
- Transcript: dark theme HTML with staff badges, avatars, timestamps
2026-09-19 15:20:08 +02:00