rDrama/files/helpers/config/holeaction_types.py

155 lines
3.4 KiB
Python
Raw Normal View History

2023-10-07 17:55:50 +00:00
HOLEACTION_TYPES = {
'exile_user': {
2023-01-01 11:36:20 +00:00
"str": 'exiled user {self.target_link}',
"icon": 'fa-user-slash',
"color": 'bg-danger'
},
'unexile_user': {
2023-01-01 11:36:20 +00:00
"str": 'unexiled user {self.target_link}',
"icon": 'fa-user',
"color": 'bg-success'
},
'make_mod': {
2023-01-01 11:36:20 +00:00
"str": 'made {self.target_link} a mod',
"icon": 'fa-user-crown',
"color": 'bg-success'
},
'remove_mod': {
2023-01-01 11:36:20 +00:00
"str": 'removed {self.target_link} as mod',
"icon": 'fa-user-crown',
"color": 'bg-danger'
},
2024-02-14 12:49:29 +00:00
'change_hole': {
"str": 'changed hole of {self.target_link}',
"icon": 'fa-manhole',
"color": 'bg-primary'
},
'flair_post': {
2023-01-01 11:36:20 +00:00
"str": 'set a flair on {self.target_link}',
"icon": 'fa-tag',
"color": 'bg-primary'
},
'edit_sidebar': {
2023-01-01 11:36:20 +00:00
"str": 'edited the sidebar',
"icon": 'fa-columns',
"color": 'bg-primary'
},
'edit_snappy_quotes': {
"str": 'edited snappy quotes',
"icon": 'fa-robot',
"color": 'bg-primary'
},
'edit_css': {
2023-01-01 11:36:20 +00:00
"str": 'edited the css',
"icon": 'fa-css3-alt',
"color": 'bg-primary'
},
'upload_banner': {
2023-01-01 11:36:20 +00:00
"str": 'uploaded a banner',
"icon": 'fa-landscape',
"color": 'bg-primary'
},
'delete_banner': {
2024-03-02 13:45:40 +00:00
"str": 'deleted a banner',
"icon": 'fa-image-slash',
"color": 'bg-danger',
},
2023-11-04 22:17:23 +00:00
'upload_sidebar_image': {
"str": 'uploaded a sidebar image',
2023-01-01 11:36:20 +00:00
"icon": 'fa-image',
"color": 'bg-primary'
},
2023-11-04 22:17:23 +00:00
'delete_sidebar_image': {
"str": 'deleted a sidebar image',
"icon": 'fa-image-slash',
"color": 'bg-danger',
},
'change_marsey': {
2023-01-01 11:36:20 +00:00
"str": 'changed the hole marsey',
"icon": 'fa-cat',
"color": 'bg-primary'
},
'pin_post': {
2023-01-01 11:36:20 +00:00
"str": 'pinned post {self.target_link}',
"icon": 'fa-thumbtack fa-rotate--45',
"color": 'bg-success'
},
'unpin_post': {
2023-01-01 11:36:20 +00:00
"str": 'unpinned post {self.target_link}',
"icon": 'fa-thumbtack fa-rotate--45',
"color": 'bg-muted'
},
'pin_comment': {
2023-01-01 11:36:20 +00:00
"str": 'pinned {self.target_link}',
"icon": 'fa-thumbtack fa-rotate--45',
"color": 'bg-success'
},
'unpin_comment': {
2023-01-01 11:36:20 +00:00
"str": 'unpinned {self.target_link}',
"icon": 'fa-thumbtack fa-rotate--45',
"color": 'bg-muted'
},
2024-02-15 21:34:09 +00:00
'enable_public_use': {
"str": 'enabled public use mode',
"icon": 'fa-users',
"color": 'bg-primary'
},
'disable_public_use': {
"str": 'disabled public use mode',
"icon": 'fa-users',
"color": 'bg-muted'
},
'enable_stealth': {
2023-01-01 11:36:20 +00:00
"str": 'enabled stealth mode',
"icon": 'fa-user-ninja',
"color": 'bg-primary'
},
'disable_stealth': {
2023-01-01 11:36:20 +00:00
"str": 'disabled stealth mode',
"icon": 'fa-user-ninja',
"color": 'bg-muted'
},
'set_nsfw': {
2023-01-01 11:36:20 +00:00
"str": 'set nsfw on post {self.target_link}',
"icon": 'fa-eye-evil',
"color": 'bg-danger'
},
'unset_nsfw': {
2023-01-01 11:36:20 +00:00
"str": 'un-set nsfw on post {self.target_link}',
"icon": 'fa-eye-evil',
"color": 'bg-success'
},
'set_nsfw_comment': {
2023-01-01 11:36:20 +00:00
"str": 'set nsfw on a {self.target_link}',
"icon": 'fa-eye-evil',
"color": 'bg-danger'
},
'unset_nsfw_comment': {
2023-01-01 11:36:20 +00:00
"str": 'un-set nsfw on a {self.target_link}',
"icon": 'fa-eye-evil',
"color": 'bg-success'
},
2024-03-31 00:48:53 +00:00
'distinguish_comment': {
"str": 'distinguished {self.target_link}',
"icon": 'fa-crown',
"color": 'bg-success'
},
'undistinguish_comment': {
"str": 'un-distinguished {self.target_link}',
"icon": 'fa-crown',
"color": 'bg-muted'
},
'distinguish_post': {
"str": 'distinguished {self.target_link}',
"icon": 'fa-crown',
"color": 'bg-success'
},
'undistinguish_post': {
"str": 'un-distinguished {self.target_link}',
"icon": 'fa-crown',
"color": 'bg-muted'
},
}
2023-03-12 10:25:03 +00:00
2023-10-07 17:55:50 +00:00
HOLEACTION_TYPES = dict(sorted(HOLEACTION_TYPES.items()))