2022-12-11 23:44:34 +00:00
|
|
|
SUBACTION_TYPES = {
|
|
|
|
'exile_user': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'exiled user {self.target_link}',
|
|
|
|
"icon": 'fa-user-slash',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-danger'
|
|
|
|
},
|
|
|
|
'unexile_user': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'unexiled user {self.target_link}',
|
|
|
|
"icon": 'fa-user',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-success'
|
|
|
|
},
|
|
|
|
'make_mod': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'made {self.target_link} a mod',
|
|
|
|
"icon": 'fa-user-crown',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-success'
|
|
|
|
},
|
|
|
|
'remove_mod': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'removed {self.target_link} as mod',
|
|
|
|
"icon": 'fa-user-crown',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-danger'
|
|
|
|
},
|
|
|
|
'kick_post': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'kicked post {self.target_link}',
|
|
|
|
"icon": 'fa-feather-alt',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-danger'
|
|
|
|
},
|
2023-03-18 06:06:54 +00:00
|
|
|
'move_hole': {
|
|
|
|
"str": 'changed hole of {self.target_link}',
|
|
|
|
"icon": 'fa-manhole',
|
|
|
|
"color": 'bg-primary'
|
2022-12-11 23:44:34 +00:00
|
|
|
},
|
|
|
|
'flair_post': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'set a flair on {self.target_link}',
|
|
|
|
"icon": 'fa-tag',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-primary'
|
|
|
|
},
|
|
|
|
'edit_sidebar': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'edited the sidebar',
|
|
|
|
"icon": 'fa-columns',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-primary'
|
|
|
|
},
|
|
|
|
'edit_css': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'edited the css',
|
|
|
|
"icon": 'fa-css3-alt',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-primary'
|
|
|
|
},
|
|
|
|
'upload_banner': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'uploaded a banner',
|
|
|
|
"icon": 'fa-landscape',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-primary'
|
|
|
|
},
|
|
|
|
'delete_banner': {
|
|
|
|
"str": 'deleted banner',
|
|
|
|
"icon": 'fa-image-slash',
|
|
|
|
"color": 'bg-danger',
|
|
|
|
},
|
|
|
|
'change_sidebar_image': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'changed the sidebar image',
|
|
|
|
"icon": 'fa-image',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-primary'
|
|
|
|
},
|
|
|
|
'change_marsey': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'changed the hole marsey',
|
|
|
|
"icon": 'fa-cat',
|
2022-12-11 23:44:34 +00:00
|
|
|
"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',
|
2022-12-11 23:44:34 +00:00
|
|
|
"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',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-muted'
|
|
|
|
},
|
|
|
|
'pin_comment': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'pinned {self.target_link}',
|
|
|
|
"icon": 'fa-thumbtack fa-rotate--45',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-success'
|
|
|
|
},
|
|
|
|
'unpin_comment': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'unpinned {self.target_link}',
|
|
|
|
"icon": 'fa-thumbtack fa-rotate--45',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-muted'
|
|
|
|
},
|
|
|
|
'enable_stealth': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'enabled stealth mode',
|
|
|
|
"icon": 'fa-user-ninja',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-primary'
|
|
|
|
},
|
|
|
|
'disable_stealth': {
|
2023-01-01 11:36:20 +00:00
|
|
|
"str": 'disabled stealth mode',
|
|
|
|
"icon": 'fa-user-ninja',
|
2022-12-11 23:44:34 +00:00
|
|
|
"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',
|
2022-12-11 23:44:34 +00:00
|
|
|
"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',
|
2022-12-11 23:44:34 +00:00
|
|
|
"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',
|
2022-12-11 23:44:34 +00:00
|
|
|
"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',
|
2022-12-11 23:44:34 +00:00
|
|
|
"color": 'bg-success'
|
|
|
|
},
|
|
|
|
}
|
2023-03-12 10:25:03 +00:00
|
|
|
|
|
|
|
SUBACTION_TYPES = dict(sorted(SUBACTION_TYPES.items()))
|