Added support for nsfw messages
This commit is contained in:
parent
ad231997a5
commit
a266c44b0b
@ -19,12 +19,13 @@
|
|||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
|
|
||||||
def setup_profile(name, backend, tags, *message):
|
def setup_profile(name, backend, tags, message, message_nsfw):
|
||||||
post_setting = {
|
post_setting = {
|
||||||
"name": name,
|
"name": name,
|
||||||
"backend": backend,
|
"backend": backend,
|
||||||
"tags": tags,
|
"tags": tags,
|
||||||
"message": message
|
"message": (message,),
|
||||||
|
"message_nsfw": (message_nsfw,)
|
||||||
}
|
}
|
||||||
return post_setting
|
return post_setting
|
||||||
|
|
||||||
@ -88,8 +89,8 @@ settings_time = {
|
|||||||
|
|
||||||
# Apply post settings
|
# Apply post settings
|
||||||
settings_post = (
|
settings_post = (
|
||||||
setup_profile("danbooru.random", "danbooru_backend", ("random",), "#random"),
|
setup_profile("danbooru.random", "danbooru_backend", ("random",), "#random", "#random #lewd #nsfw"),
|
||||||
setup_profile("danbooru.yandere", "danbooru_backend", ("yandere",), "#yandere"),
|
setup_profile("danbooru.yandere", "danbooru_backend", ("yandere",), "#yandere", "#yandere #lewd #nsfw"),
|
||||||
)
|
)
|
||||||
|
|
||||||
# Default post behavior:
|
# Default post behavior:
|
||||||
|
Reference in New Issue
Block a user