Added support for nsfw messages

This commit is contained in:
Anon 2022-08-29 15:18:03 -07:00
parent ad231997a5
commit a266c44b0b

View File

@ -19,12 +19,13 @@
from collections import OrderedDict
def setup_profile(name, backend, tags, *message):
def setup_profile(name, backend, tags, message, message_nsfw):
post_setting = {
"name": name,
"backend": backend,
"tags": tags,
"message": message
"message": (message,),
"message_nsfw": (message_nsfw,)
}
return post_setting
@ -88,8 +89,8 @@ settings_time = {
# Apply post settings
settings_post = (
setup_profile("danbooru.random", "danbooru_backend", ("random",), "#random"),
setup_profile("danbooru.yandere", "danbooru_backend", ("yandere",), "#yandere"),
setup_profile("danbooru.random", "danbooru_backend", ("random",), "#random", "#random #lewd #nsfw"),
setup_profile("danbooru.yandere", "danbooru_backend", ("yandere",), "#yandere", "#yandere #lewd #nsfw"),
)
# Default post behavior: