This commit is contained in:
Anon 2022-08-31 22:08:02 -07:00
parent 1e69049254
commit 977cd9ae3c

View File

@ -2,8 +2,8 @@
Mirai Nikki Bot uses regular python files to configure posts. The default configuration is `cfg.py`
There are two default configuration files located in `default/`:
- **`cfg.py:`** Is a script that demonstrates the full functionality of the bot. It is production configuration for [Mirai Nikki Bot](https://yandere.cc/MiraiNikkiBot). This config will show you how to skip certain segments of a video file (such as the OP and ED of an anime) as well as mark nsfw scenes as sensitive.
- **`cfg_netoge.py:`** Is much simpler. It also skips the OP and ED of the anime, but there are no nsfw scenes.
- **`cfg.py:`** Is a script that demonstrates the full functionality of the bot. It is the production configuration for [Mirai Nikki Bot](https://yandere.cc/MiraiNikkiBot). This config will show you how to skip certain segments of a video file (such as the OP and ED of an anime) as well as mark nsfw scenes as sensitive.
- **`cfg_netoge.py:`** Is much simpler. It is the production configuration for [Netoge Bot](https://yandere.cc/NetogeBot). It also skips the OP and ED of the anime, but there are no nsfw scenes.
# Render scripts
To generate screenshots, the bot will call shell scripts located in the `src/` directory and specified in the `render_script` value in the `setup_episode()` function. By default the two scripts are included: