formatting

This commit is contained in:
2026-03-10 22:38:05 +00:00
parent ca0f165257
commit 21cbad7111
+15 -16
View File
@@ -95,23 +95,22 @@ pip install -r requirements.txt
``` ```
python modreplybot.py python modreplybot.py
```
## Chat-Based Config Reload ## Chat-Based Config Reload
- To reload the wiki config, send a chat message containing `reload-config` to the bot account from a moderator account. - To reload the wiki config, send a chat message containing `reload-config` to the bot account from a moderator account.
- The bot will reply to the chat message indicating whether the config is valid or not. - The bot will reply to the chat message indicating whether the config is valid or not.
- Chat message IDs are tracked in `/DB/chat_wiki_requests.txt` to prevent duplicate reloads after restarts. - Chat message IDs are tracked in `/DB/chat_wiki_requests.txt` to prevent duplicate reloads after restarts.
## Troubleshooting ## Troubleshooting
- Ensure your Reddit credentials are correct and have moderator permissions. - Ensure your Reddit credentials are correct and have moderator permissions.
- The bot must be able to read the wiki page and approve posts. - The bot must be able to read the wiki page and approve posts.
- Check logs for errors. - Check logs for errors.
- The bot only responds to mod comments and mod reports for triggers. - The bot only responds to mod comments and mod reports for triggers.
- Database is stored in `/DB/commented_posts.txt` and `/DB/chat_wiki_requests.txt` and survives container restarts. - Database is stored in `/DB/commented_posts.txt` and `/DB/chat_wiki_requests.txt` and survives container restarts.
- If the wiki config is invalid, the bot will reply to the chat message with an error. - If the wiki config is invalid, the bot will reply to the chat message with an error.
## Moderator Guide ## Moderator Guide
See `ModGuide.md` for a detailed guide to configuring triggers, auto-post tags, and wiki options. See `ModGuide.md` for a detailed guide to configuring triggers, auto-post tags, and wiki options.
## License ## License
MIT MIT