formatting
This commit is contained in:
@@ -95,23 +95,22 @@ pip install -r requirements.txt
|
||||
|
||||
```
|
||||
python modreplybot.py
|
||||
```
|
||||
|
||||
## Chat-Based Config Reload
|
||||
- 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.
|
||||
- Chat message IDs are tracked in `/DB/chat_wiki_requests.txt` to prevent duplicate reloads after restarts.
|
||||
## Chat-Based Config Reload
|
||||
- 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.
|
||||
- Chat message IDs are tracked in `/DB/chat_wiki_requests.txt` to prevent duplicate reloads after restarts.
|
||||
|
||||
## Troubleshooting
|
||||
- Ensure your Reddit credentials are correct and have moderator permissions.
|
||||
- The bot must be able to read the wiki page and approve posts.
|
||||
- Check logs for errors.
|
||||
- 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.
|
||||
- If the wiki config is invalid, the bot will reply to the chat message with an error.
|
||||
## Troubleshooting
|
||||
- Ensure your Reddit credentials are correct and have moderator permissions.
|
||||
- The bot must be able to read the wiki page and approve posts.
|
||||
- Check logs for errors.
|
||||
- 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.
|
||||
- If the wiki config is invalid, the bot will reply to the chat message with an error.
|
||||
|
||||
## Moderator Guide
|
||||
See `ModGuide.md` for a detailed guide to configuring triggers, auto-post tags, and wiki options.
|
||||
## Moderator Guide
|
||||
See `ModGuide.md` for a detailed guide to configuring triggers, auto-post tags, and wiki options.
|
||||
|
||||
## License
|
||||
MIT
|
||||
## License
|
||||
MIT
|
||||
|
||||
Reference in New Issue
Block a user