EveCogs/dashboard/__init__.py
EveCogs 20d6bd2c82 feat: EveDash v1.0.0 — Self-contained web dashboard for Red-DiscordBot
- Embedded aiohttp server (no external packages needed beyond aiohttp)
- Discord-inspired dark theme SPA frontend
- Discord OAuth2 authentication with JWT sessions
- Full REST API: bot info, guild management, settings, commands, cogs
- Real-time WebSocket for live events
- Third-party cog SDK: @dashboard_page decorator for easy integration
- Guild selector with search, command toggles, cog load/unload/reload
- Admin panel: global config, blacklist management
- Responsive design, toast notifications, smooth animations
- 3,604 lines across 8 files
2026-05-07 23:47:55 +00:00

5 lines
91 B
Python

from .dashboard import EveDash
async def setup(bot):
await bot.add_cog(EveDash(bot))