fix(economy): improve daily cooldown message and consolidate UserError class

This commit is contained in:
syntaxbullet
2026-01-14 16:26:27 +01:00
parent 4af2690bab
commit 915f1bc4ad
18 changed files with 52 additions and 41 deletions

View File

@@ -0,0 +1,28 @@
### Context & Goal
Enhance the user experience by standardizing the look and feel of Discord embeds. Adding consistent branding like a custom footer (with version info) and using the bot's accent color will make the bot feel more professional.
### Dependencies
- None
### Affected Files
- `bot/lib/embeds.ts`: Update standard embed creators.
- `shared/lib/constants.ts`: Add branding-related constants (colors, footer text).
### Technical Constraints & Strategy
- Implementation: Update `createBaseEmbed` and other helpers to automatically include footers and standard colors.
- Use info from `package.json` for versioning in the footer.
- Ensure the changes don't break existing layouts where custom colors might be needed.
### Definition of Done (Binary)
- [x] All standard embeds now include a consistent footer.
- [x] Embeds use a predefined brand color by default.
- [x] Version number is automatically pulled for the footer.
### New Test Files
- None.