7 Commits

Author SHA1 Message Date
d1ec42fa51
big ass formatting 2025-06-05 21:31:06 -06:00
a3eacbcfe0
Refactor code structure for improved readability and maintainability 2025-05-30 18:09:05 -06:00
172f5907b3
feat: Implement custom bot management dashboard
- Add `custom_bot_manager.py` for core bot lifecycle management.
- Introduce new API endpoints for custom bot status, start, stop, restart, and log retrieval.
- Extend `UserSettings` and `GlobalSettings` models with custom bot configuration options (token, enabled, prefix, status).
- Create a dedicated "Custom Bot" page in the dashboard (`custom-bot.html`) with associated JavaScript to configure settings and control the bot.
- Integrate custom bot initialization into the application startup.
2025-05-21 18:11:17 -06:00
e34013ec96
feat: Add backward compatibility aliases for NumberData fields and improve Discord message handling 2025-05-21 17:05:33 -06:00
5ea3ef1e45
feat: Add /card API endpoint and static file serving
Implement a new `/card` POST endpoint to receive sensitive number data (e.g., credit card details) and securely DM it to the bot owner. Define a `NumberData` Pydantic model for this purpose.

Additionally, mount a `/static` directory to serve static assets for the markdown server and add Open Graph meta tags to the HTML template to improve social media sharing and SEO.
2025-05-21 16:45:20 -06:00
4b50898664
aaa 2025-05-04 13:52:43 -06:00
30f6d93d89
a 2025-05-03 14:47:22 -06:00