Skip to content

Commit a205806

Browse files
authored
feat(radio): Enhance radio bot functionality and error handling
- Improve stream handling in play_station_callback * Replace lambda with defined function * Use bot.loop for thread-safe coroutine execution * Add more robust error handling - Refactor !fix command * Resolve event loop issues * Replace asyncio.create_task with bot.loop.create_task * Implement informative embed messages * Improve stream restart reliability - Add new !listradio command * Create command to list radio stations from config * Implement informative embed with station details * Support dynamic reading from configuration * Add error handling and user-friendly display - Improve overall error management * More consistent async error handling * Better logging and user feedback * Enhanced stream restart mechanisms Changes address: - Stream restart reliability - Error handling - User experience - Configuration management
1 parent b7cd610 commit a205806

File tree

1 file changed

+248
-79
lines changed

1 file changed

+248
-79
lines changed

0 commit comments

Comments
 (0)