This repository has been archived by the owner on Jun 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
JSON: toolbox config
creesch edited this page Feb 23, 2017
·
4 revisions
This data is stored in /r/subreddit/wiki/toolbox
{
"ver": 1,
"domainTags": [
{
"name": "self.toolbox",
"color": "#347235"
},
{
"name": "github.com",
"color": "#EAC117"
}
],
"removalReasons": {
"pmsubject": "this is the pm subject",
"logreason": "",
"header": "this%20is%20the%20header%20that%20will%20be%20shown%20above%20every%20removal%20comment",
"footer": "This%20is%20the%20footer%20that%20will%20be%20shown%20under%20every%20removal%20comment",
"logsub": "",
"logtitle": "",
"bantitle": "",
"getfrom": "",
"reasons": [
{
"text": "reason"
},
{
"text": "This%20is%20also%20a%20removal%20reason.%20%0A%0A%3Cinput%3Etest%3C/input%3E%20%3F%20%26%20/%20%0A%0A%20%2C%20/%20%3F%20%3A%20@%20%26%20%3D%20+%20%24%20%23",
"flairText": "And flair",
"flairCSS": "flaircss",
"title": "This removal reason has a title."
}
]
},
"modMacros": [
{
"text": "Please%20try%20clearing%20your%20%5Btoolbox%20cache%5D%28https%3A//www.reddit.com/r/toolbox/wiki/faq%23wiki_how_do_i_clear_my_toolbox_cache.3F%29.",
"title": "clear cache"
},
{
"text": "Please%20try%20resetting%20toolbox%20by%20closing%20all%20reddit%20tabs%20then%20going%20to%20/r/tb_reset",
"title": "reset toolbox"
}
],
"usernoteColors": [
{
"key": "good_contributor_changed",
"text": "Good Contributor Changed",
"color": "green"
},
{
"key": "spamwatch",
"text": "Spam Watch",
"color": "fuchsia"
},
{
"key": "spamwarn",
"text": "Spam Warning",
"color": "purple"
},
{
"key": "abusewarn",
"text": "Abuse Warning",
"color": "orange"
},
{
"key": "ban",
"text": "Ban",
"color": "red"
},
{
"key": "permban",
"text": "Permanent Ban",
"color": "darkred"
},
{
"key": "botban",
"text": "Bot Ban",
"color": "black"
}
],
"banMacros":{
"banNote":"note with {token}",
"banMessage":"Message with {token}"
}
}
Note that if usernoteColors is defined these will be used in usernotes instead of the default array.