You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: comprehensive documentation audit and update
- Update command count from 12 to 15 across all docs
- Add /notifications, /stats, /logs, /deleteaccount to all references
- Document AES-256-GCM credential encryption (crypto.ts)
- Add loot_totals table to database schema documentation
- Fix type definition path from src/lib/ to src/bot/api/types/
- Expand test inventory from 3 to 11 files (110+ tests)
- Fix DB table names (redeemed_codes, backfill_operations)
- Fix schema field names: timestamp/loot -> redeemed_at/loot_detail/created_at
- Update Bun version from 1.0 to 1.3.14 in docs/mise.md
- Add detailed command sections for /notifications, /stats, /logs
- Update CHANGELOG [Unreleased] with all new features
- Update security-assessment with AES-256-GCM and /deleteaccount mitigations
- Fix /logs permission: Administrator -> Manage Messages
- Fix regex description and example code (12-char format)
- Fix debug log cleanup period: 7 days -> 1 hour (debug/), 1 day (api-logs/)
- Update .instructions.md and SECURITY.md slash command counts
Signed-off-by: Michael Cramer <michael@bigmichi1.de>
Copy file name to clipboardExpand all lines: SECURITY.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -521,7 +521,7 @@ For complete dependency management details, see [docs/dependency-management.md](
521
521
The project includes comprehensive design documentation describing all actors and actions within the system. See [docs/system-design.md](docs/system-design.md) for:
|`LOG_NOT_FOUND`| Log file does not exist | Bot has not run long enough to create logs |
866
+
867
+
---
868
+
869
+
### 16. `/help`
758
870
759
871
Display command reference and usage instructions.
760
872
@@ -796,7 +908,13 @@ Display command reference and usage instructions.
796
908
│ **Utilities** │
797
909
│ /autoredeem enabled:<on|off> │
798
910
│ Toggle automatic code redemption │
799
-
│ /backfill [channel:<channel>] │
911
+
│ /notifications │
912
+
│ View/update DM notification preferences │
913
+
│ /stats │
914
+
│ Server-wide stats and aggregate loot │
915
+
│ /logs [lines:<num>] (admin) │
916
+
│ Show last N lines of the bot log │
917
+
│ /backfill [channel:<channel>] (admin) │
800
918
│ Recover codes from message history │
801
919
│ /deleteaccount │
802
920
│ Permanently delete all your stored data │
@@ -823,35 +941,36 @@ The bot automatically scans all messages in the monitored channel for promo code
823
941
824
942
**Trigger**: Message posted in monitored Discord channel
825
943
826
-
**Pattern Matching**: Regular expression matching 4-20 alphanumeric character sequences
944
+
**Pattern Matching**: Regular expression matching 12- or 16-character sequences of uppercase alphanumeric and symbol characters (optionally hyphen-separated)
0 commit comments