39 lines
1.5 KiB
Markdown
39 lines
1.5 KiB
Markdown
|
|
# Changelog
|
||
|
|
|
||
|
|
## [V2 release]
|
||
|
|
|
||
|
|
### Major Features & Enhancements
|
||
|
|
- **Chat-Based Config Reload:**
|
||
|
|
- Bot reloads wiki config when a moderator sends a chat message containing `reload-config`.
|
||
|
|
- Bot replies to chat messages indicating config validity.
|
||
|
|
- Chat message IDs are tracked in `/DB/chat_wiki_requests.txt` for persistence across restarts.
|
||
|
|
|
||
|
|
- **Configurable Actions for Triggers and Tags:**
|
||
|
|
- Added support for optional `flair_id`, `stickied`, `lock_post`, and `lock_comment` in both triggers and post_tags.
|
||
|
|
- Bot can set flair, sticky comments, lock posts/comments as specified in wiki config.
|
||
|
|
|
||
|
|
- **Persistent Tracking:**
|
||
|
|
- Auto-commented posts and processed chat requests are tracked in `/DB/commented_posts.txt` and `/DB/chat_wiki_requests.txt`.
|
||
|
|
|
||
|
|
### Code & Documentation Updates
|
||
|
|
- **modreplybot.py:**
|
||
|
|
- Refactored to remove all modmail notification code.
|
||
|
|
- All config reloads and error notifications are now handled via chat messages.
|
||
|
|
- Improved error handling and logging.
|
||
|
|
- Updated logic for flair/tag actions and chat message processing.
|
||
|
|
|
||
|
|
- **README.md & ModGuide.md:**
|
||
|
|
- Updated to reflect chat-based config reload, new config options, and persistent tracking.
|
||
|
|
- Added detailed examples for triggers and post_tags with new fields.
|
||
|
|
|
||
|
|
- **DB Folder:**
|
||
|
|
- Added `/DB/chat_wiki_requests.txt` for persistent chat request tracking.
|
||
|
|
- Updated `/DB/commented_posts.txt` for improved tracking.
|
||
|
|
|
||
|
|
### Other Changes
|
||
|
|
- **Removed:**
|
||
|
|
- All modmail-based notifications and config reloads.
|
||
|
|
- Legacy approval logic and unnecessary config options.
|
||
|
|
|
||
|
|
---
|