Commit Graph
100 Commits
Author SHA1 Message Date
BlackAngelTV c49c60071d feat(moderation): implement the moderation service and commands
Every action checks the role hierarchy before touching Discord, then records the sanction in SQLite and mirrors it in the moderation log channel, so the history outlives the audit log.
2026-09-15 14:50:48 +02:00
BlackAngelTV e8c95b2ba3 feat(tickets): implement the ticket service, command and channel controls
Each ticket category is visible to a different set of staff roles, and the claim and close actions must also be reachable from the channel itself, so the buttons live in the ticket and share the service checks.
2026-09-15 14:50:47 +02:00
BlackAngelTV a5280ce205 feat(notifications): dispatch Gitea webhooks through the notification service
A guild can reroute a notification type to its own channel from SQLite, with the environment values as fallback, without editing the configuration or restarting the bot.
2026-09-15 14:50:41 +02:00
BlackAngelTV 26d7cce05f feat(fws): implement the version, status and changelog subcommands
Status reports each dependency separately so a Gitea outage never hides a database or webhook problem.
2026-09-15 14:50:41 +02:00
BlackAngelTV 76d0bf9250 feat(gitea): add embeds, modals and the issue and pull request commands
Creating an issue or a pull request needs a title and a description, which do not fit in a slash command option, so the branches chosen as options are kept in memory for a few minutes until the modal is submitted.
2026-09-15 14:50:40 +02:00
BlackAngelTV 66be463ba3 feat(core): add shared constants, interaction components and Gitea client helpers
Moderation, tickets, polls and Gitea events reuse the same labels, colours and buttons; normalising list responses in the client keeps both commands and webhooks free of version quirks.
2026-09-15 14:50:34 +02:00
BlackAngelTV 03a217c775 feat(database): add repositories for tickets, moderation, polls and notifications
Keep every SQL statement out of the command layer so each feature can be built and tested without a Discord dependency.
2026-09-15 14:50:34 +02:00
nocode de97f878e1 feat(core): add bot entry point
Refs: #22
2026-09-13 12:25:10 +02:00
nocode 208d713fe0 feat(fun): add fun command skeleton
Refs: #88
2026-09-13 12:25:10 +02:00
nocode baca3f0993 feat(stats): add stats command skeleton
Refs: #90
2026-09-13 12:25:10 +02:00
nocode 9ccecb3071 feat(polls): add poll command skeleton
Refs: #82
2026-09-13 12:25:10 +02:00
nocode cef9ed0371 feat(roles): add role command skeleton
Refs: #63
2026-09-13 12:25:09 +02:00
nocode 744eaa8398 feat(moderation): add moderation logs command skeleton
Refs: #70
2026-09-13 12:25:09 +02:00
nocode dc4958fa26 feat(moderation): add clear command skeleton
Refs: #69
2026-09-13 12:25:09 +02:00
nocode 002380c03f feat(moderation): add ban command skeleton
Refs: #68
2026-09-13 12:25:09 +02:00
nocode 4cc475edef feat(moderation): add kick command skeleton
Refs: #67
2026-09-13 12:25:09 +02:00
nocode 373c7e6455 feat(moderation): add mute command skeleton
Refs: #66
2026-09-13 12:25:09 +02:00
nocode 1bcc3d382d feat(moderation): add warn command skeleton
Refs: #65
2026-09-13 12:25:08 +02:00
nocode ab08253126 feat(support): add ticket command skeleton
Refs: #52
2026-09-13 12:25:08 +02:00
nocode d9ce9e4aae feat(gitea): add activity and release command skeleton
Refs: #48
2026-09-13 12:25:08 +02:00
nocode 44c9595ae0 feat(gitea): add pull request command skeleton
Refs: #48
2026-09-13 12:25:08 +02:00
nocode bd2475cb73 feat(gitea): add issue command skeleton
Refs: #48
2026-09-13 12:25:08 +02:00
nocode 4cc6964a3c feat(fws): add fws information command
Refs: #35
2026-09-13 12:25:08 +02:00
nocode 3aa17e5707 feat(commands): add help command
Refs: #25
2026-09-13 12:25:07 +02:00
nocode 9cb2a7356d feat(members): add member leave event handler
Refs: #62
2026-09-13 12:25:07 +02:00
nocode aa404dd588 feat(members): add member join event handler
Refs: #62
2026-09-13 12:25:07 +02:00
nocode 017764d5b8 feat(commands): dispatch slash commands with access control
Refs: #30
2026-09-13 12:25:07 +02:00
nocode 8f48efdcdc feat(discord): log shard disconnections
Refs: #23
2026-09-13 12:25:07 +02:00
nocode e9c110a752 feat(discord): log discord client errors
Refs: #27
2026-09-13 12:25:07 +02:00
nocode 0fb20d120a feat(discord): handle client ready event
Refs: #22
2026-09-13 12:25:06 +02:00
nocode fb63cc9a2f feat(webhooks): add http server for gitea webhooks
Refs: #75
2026-09-13 12:25:06 +02:00
nocode 7a7d8e6fcd feat(webhooks): validate and deduplicate gitea webhook events
Refs: #75
2026-09-13 12:25:06 +02:00
nocode 13f8e24e54 feat(notifications): add notification dispatch service
Refs: #74
2026-09-13 12:25:06 +02:00
nocode 6fca3b7ec4 feat(gitea): add gitea api client
Refs: #42
2026-09-13 12:25:06 +02:00
nocode 856e7ba321 feat(ui): add link buttons builder
Refs: #99
2026-09-13 12:25:05 +02:00
nocode 94dab89791 feat(ui): add standard embed builders
Refs: #98
2026-09-13 12:25:05 +02:00
nocode f56e837e58 feat(utils): add cooldown guard against duplicate actions
Refs: #111
2026-09-13 12:25:05 +02:00
nocode 4205ed5d5b feat(utils): add retry helper with exponential backoff
Refs: #108
2026-09-13 12:25:05 +02:00
nocode de64a0eaf2 feat(database): add event log repository
Refs: #93
2026-09-13 12:25:05 +02:00
nocode 910cf3252f feat(database): add guild settings repository
Refs: #33
2026-09-13 12:25:05 +02:00
nocode 5716d248d3 feat(database): initialize sqlite connection and migrations
Refs: #16
2026-09-13 12:25:04 +02:00
nocode a2520fe787 feat(database): add initial sqlite schema
Refs: #16
2026-09-13 12:25:04 +02:00
nocode 34da3eb647 feat(discord): add event loader
Refs: #22
2026-09-13 12:25:04 +02:00
nocode 15e7279fc0 feat(commands): add slash command loader
Refs: #24
2026-09-13 12:25:04 +02:00
nocode baf8db059b feat(discord): create client with required gateway intents
Refs: #21
2026-09-13 12:25:04 +02:00
nocode 2085f570a8 feat(auth): add centralized permission checks
Refs: #29
2026-09-13 12:25:04 +02:00
nocode c03027e819 feat(observability): add json logger with secret masking
Refs: #17
2026-09-13 12:25:03 +02:00
nocode bba2ee7520 feat(core): add typed application errors
Refs: #17
2026-09-13 12:25:03 +02:00
nocode eca9bbed9f feat(config): add colors, access levels and ticket categories
Refs: #28
2026-09-13 12:25:03 +02:00
nocode d1388b6e93 feat(config): load and expose environment settings
Refs: #15
2026-09-13 12:25:03 +02:00