overhaul automod escalation and register applications, restore orange theme
All checks were successful
Deploy Discord Bot / deploy (push) Successful in -1m12s
SonarQube / sonar (push) Successful in -21s

Automod: per-filter actions (warn/timeout/kick/ban), channel/role exemptions,
regex/severity badword rules, and a strike/escalation system backed by a new
AutomodStrike table. Register: fixes missing answer labels, adds internal
reviewer notes and cross-form application history for a user, and exposes
form/status filters in the dashboard. Dashboard: overrides HeroUI's default
blue accent token with the bot's established orange (#f97316), which was
lost during the HeroUI v3 migration.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 00:21:20 +02:00
parent fe41bfdd88
commit e708cac790
15 changed files with 3689 additions and 178 deletions

View File

@@ -295,6 +295,25 @@ exports.Prisma.RegisterApplicationAnswerScalarFieldEnum = {
value: 'value'
};
exports.Prisma.RegisterApplicationNoteScalarFieldEnum = {
id: 'id',
applicationId: 'applicationId',
authorId: 'authorId',
authorTag: 'authorTag',
body: 'body',
createdAt: 'createdAt'
};
exports.Prisma.AutomodStrikeScalarFieldEnum = {
id: 'id',
guildId: 'guildId',
userId: 'userId',
filterKey: 'filterKey',
weight: 'weight',
reason: 'reason',
createdAt: 'createdAt'
};
exports.Prisma.SortOrder = {
asc: 'asc',
desc: 'desc'
@@ -340,7 +359,9 @@ exports.Prisma.ModelName = {
RegisterForm: 'RegisterForm',
RegisterFormField: 'RegisterFormField',
RegisterApplication: 'RegisterApplication',
RegisterApplicationAnswer: 'RegisterApplicationAnswer'
RegisterApplicationAnswer: 'RegisterApplicationAnswer',
RegisterApplicationNote: 'RegisterApplicationNote',
AutomodStrike: 'AutomodStrike'
};
/**