Update readme with new formatting system.

This commit is contained in:
dotnet 2023-10-13 19:25:10 -04:00
parent c05aff718e
commit 24f66ef69d
1 changed files with 9 additions and 2 deletions

View File

@ -40,7 +40,7 @@ Usage: python3 gelbooru-bot.py [--gen-config] [--help]
"hololive_images": { "hololive_images": {
"gelbooru_tags": "hololive", "gelbooru_tags": "hololive",
"gelbooru_tags_exclude": "-sky", "gelbooru_tags_exclude": "-sky",
"bot_message": ["Hololive Image", "Uooooh"], "bot_message": ["Hololive Image $dh$\n$gel_src$\n$src$", "Uooooh $dh$\n$gel_src$\n$src$"],
"bot_hashtags": "#hololive", "bot_hashtags": "#hololive",
"misskey_token": "uuuu0hOhrrrlrlrP8888uquqaaaaAUAU", "misskey_token": "uuuu0hOhrrrlrlrP8888uquqaaaaAUAU",
"max_page_number": 200, "max_page_number": 200,
@ -49,7 +49,7 @@ Usage: python3 gelbooru-bot.py [--gen-config] [--help]
"kancolle": { "kancolle": {
"gelbooru_tags": "{kantai_collection ~ boat_girl}", "gelbooru_tags": "{kantai_collection ~ boat_girl}",
"gelbooru_tags_exclude": "", "gelbooru_tags_exclude": "",
"bot_message": ".", "bot_message": "$dh$\n$gel_src$\n$src$",
"bot_hashtags": "#kancolle", "bot_hashtags": "#kancolle",
"misskey_token": "HHkkuuuutdtdrrrrvWvW8888yayaaaaa", "misskey_token": "HHkkuuuutdtdrrrrvWvW8888yayaaaaa",
"max_page_number": 200, "max_page_number": 200,
@ -59,6 +59,13 @@ Usage: python3 gelbooru-bot.py [--gen-config] [--help]
} }
``` ```
Message formatting:
- `$dh$` : Daily hashtag
- `$gel_src$` : Gelbooru link
- `$src$` : Original source
Other fields:
- `max_page_number:` Automatically determined by the script. - `max_page_number:` Automatically determined by the script.