Commit afd3fe8
authored
Update v1.1.6
🚀 New Features
- Rate Limiting
- Implemented a rate-limiting mechanism to control the number of messages sent in a short period, ensuring the bot does not exceed the set message limits in high-traffic channels.
The bot now limits sending up to 5 messages per second, avoiding spamming and reducing the likelihood of triggering rate limits.
- Private Settings Command
- Modified the /settings command so that the bot now displays settings only to the user who invoked the command, using the ephemeral message feature. This ensures a private configuration experience.
- Prevent Link Conversion with <>
- Added support for users to enclose a link in angle brackets < > to prevent the bot from converting it. This gives users more control over which links are converted and which are left as-is.
🐞 Bug Fixes
- Error Handling for Status Changes
- Improved error handling for status updates, ensuring that failed status changes due to Discord API issues (like HTTPException) are logged and do not crash the bot.
🔧 Enhancements
- Reddit Link Handling with vxReddit
- Updated Reddit links to use vxReddit instead of rxddit. This enhances the display of videos and better supports additional Reddit features like listing stats, improving user experience when sharing Reddit content.
- Performance Improvement
- Used a deque for efficient management of the rate-limiting timestamps, allowing better memory management and faster operations when handling a high volume of messages.
📝 Documentation
- Update Credits
- Corrected the mention of vxReddit in the credits list to reflect the improved integration for handling Reddit links.1 parent d140766 commit afd3fe8
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| 591 | + | |
591 | 592 | | |
592 | 593 | | |
593 | 594 | | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
594 | 598 | | |
595 | 599 | | |
596 | 600 | | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
597 | 605 | | |
598 | 606 | | |
599 | 607 | | |
| |||
0 commit comments