11 Commits

Author SHA1 Message Date
0677b7e168
feat: Implement custom bot configuration dashboard
This commit introduces a new custom bot configuration dashboard, providing a streamlined interface for managing bot settings.

Key changes include:
- **UI/UX Enhancements:**
    - Added new CSS for a modern, responsive dashboard layout, including header, navigation, and form styling.
    - Implemented a dynamic bot status indicator (online/offline).
    - Improved form validation and user feedback mechanisms.
- **Frontend Logic:**
    - Refactored `custom-bot.js` to handle loading, saving, and validating bot settings.
    - Integrated `showFeedback` utility for consistent user notifications.
    - Updated API calls to use `fetch` for better control and error handling.
- **HTML Structure:**
    - Modified `index.html` to incorporate the new dashboard layout and elements.
- **Utility Functions:**
    - Added `showFeedback` function in `utils.js` for displaying success/error messages.

This feature significantly improves the user experience for configuring custom bots.
2025-05-26 15:19:26 -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
59ef9f5a8a
aaa 2025-05-05 20:43:11 -06:00
d97555d959
aaa 2025-05-05 20:05:41 -06:00
427043f334
aa 2025-05-04 14:03:41 -06:00
4b50898664
aaa 2025-05-04 13:52:43 -06:00
f971fe87b8
aaaa 2025-05-03 19:01:41 -06:00
3c4c776e54
ghygyyggy 2025-05-03 18:25:24 -06:00
156125e1db
joklihuhiuyuiyhuiyyiuyiuj 2025-05-03 17:44:55 -06:00
9ee5bdbaaa
aaa 2025-05-03 16:04:09 -06:00
30f6d93d89
a 2025-05-03 14:47:22 -06:00