From cfa28c49d0eea2ce4ab8d230aa85f18e9703fc3e Mon Sep 17 00:00:00 2001 From: G-tix Date: Thu, 21 Dec 2023 19:48:50 +0000 Subject: [PATCH] add cw modactions --- files/helpers/config/modaction_types.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/files/helpers/config/modaction_types.py b/files/helpers/config/modaction_types.py index e91874ad3..c2ebf527c 100644 --- a/files/helpers/config/modaction_types.py +++ b/files/helpers/config/modaction_types.py @@ -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',