add cw modactions

pull/220/head
G-tix 2023-12-21 19:48:50 +00:00
parent 0da11d14d6
commit cfa28c49d0
1 changed files with 10 additions and 0 deletions

View File

@ -276,6 +276,11 @@ MODACTION_TYPES = {
"icon": 'fa-robot',
"color": 'bg-muted'
},
'set_cw': {
"str": "set {self.target_link} as Child Warning",
"icon": 'fa-eye-evil',
"color": 'bg-danger'
},
'set_flair_locked': {
"str": "set {self.target_link}'s flair (locked)",
"icon": 'fa-award',
@ -376,6 +381,11 @@ MODACTION_TYPES = {
"icon": 'fa-thumbtack fa-rotate--45',
"color": 'bg-muted'
},
'unset_cw': {
"str": "unset {self.target_link} as Child Warning",
"icon": 'fa-eye-evil',
"color": 'bg-success'
},
'unset_nsfw': {
"str": 'unset {self.target_link} as NSFW',
"icon": 'fa-eye-evil',