3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-26 20:52:37 +01:00

data: add metadata to JSON files; add last_update

This commit is contained in:
Pragmatic Software 2020-04-21 22:43:03 -07:00
parent 012f2bd061
commit d2642d07bd
11 changed files with 621 additions and 37 deletions

10
data/ban-exemptions vendored
View File

@ -0,0 +1,10 @@
{
"$metadata$" : {
"$metadata$" : {
"_name" : "$metadata$",
"update_version" : 3503
},
"_name" : "$metadata$"
}
}

391
data/capabilities vendored Normal file
View File

@ -0,0 +1,391 @@
{
"$metadata$" : {
"_name" : "$metadata$",
"update_version" : 3503
},
"admin" : {
"_name" : "admin",
"can-actiontrigger" : 1,
"can-akalink" : 1,
"can-akaunlink" : 1,
"can-antispam" : 1,
"can-ban-exempt" : 1,
"can-blacklist" : 1,
"can-chanlist" : 1,
"can-clear-bans" : 1,
"can-clear-mutes" : 1,
"can-countertrigger" : 1,
"can-eventqueue" : 1,
"can-ignore" : 1,
"can-in" : 1,
"can-join" : 1,
"can-kick-wildcard" : 1,
"can-kill" : 1,
"can-mode" : 1,
"can-mode-any" : 1,
"can-op-wildcard" : 1,
"can-part" : 1,
"can-unignore" : 1,
"can-useradd" : 1,
"can-userdel" : 1,
"can-userset" : 1,
"can-userunset" : 1,
"can-voice-wildcard" : 1,
"chanop" : 1
},
"botowner" : {
"_name" : "botowner",
"admin" : 1,
"can-actiontrigger" : 1,
"can-akalink" : 1,
"can-akaunlink" : 1,
"can-antispam" : 1,
"can-ban" : 1,
"can-ban-exempt" : 1,
"can-blacklist" : 1,
"can-chanadd" : 1,
"can-chanlist" : 1,
"can-chanrem" : 1,
"can-chanset" : 1,
"can-chanunset" : 1,
"can-clear-bans" : 1,
"can-clear-mutes" : 1,
"can-cmdset" : 1,
"can-cmdunset" : 1,
"can-countertrigger" : 1,
"can-deop" : 1,
"can-devoice" : 1,
"can-die" : 1,
"can-dumpbans" : 1,
"can-eval" : 1,
"can-eventqueue" : 1,
"can-export" : 1,
"can-group-capabilities" : 1,
"can-ignore" : 1,
"can-in" : 1,
"can-invite" : 1,
"can-join" : 1,
"can-kick" : 1,
"can-kick-wildcard" : 1,
"can-kill" : 1,
"can-load" : 1,
"can-mode" : 1,
"can-mode-any" : 1,
"can-modify-admins" : 1,
"can-modify-capabilities" : 1,
"can-mute" : 1,
"can-op" : 1,
"can-op-wildcard" : 1,
"can-part" : 1,
"can-plug" : 1,
"can-rebuildaliases" : 1,
"can-refresh" : 1,
"can-regchange" : 1,
"can-regex" : 1,
"can-regset" : 1,
"can-regsetmeta" : 1,
"can-regunset" : 1,
"can-regunsetmeta" : 1,
"can-reload" : 1,
"can-replug" : 1,
"can-sl" : 1,
"can-unban" : 1,
"can-ungroup-capabilities" : 1,
"can-unignore" : 1,
"can-unload" : 1,
"can-unmute" : 1,
"can-unplug" : 1,
"can-useradd" : 1,
"can-userdel" : 1,
"can-userset" : 1,
"can-userunset" : 1,
"can-voice" : 1,
"can-voice-wildcard" : 1,
"chanmod" : 1,
"chanop" : 1,
"is-whitelisted" : 1
},
"can-actiontrigger" : {
"_name" : "can-actiontrigger"
},
"can-akalink" : {
"_name" : "can-akalink"
},
"can-akaunlink" : {
"_name" : "can-akaunlink"
},
"can-antispam" : {
"_name" : "can-antispam"
},
"can-ban" : {
"_name" : "can-ban",
"can-mode-b" : 1
},
"can-ban-exempt" : {
"_name" : "can-ban-exempt"
},
"can-blacklist" : {
"_name" : "can-blacklist"
},
"can-chanadd" : {
"_name" : "can-chanadd"
},
"can-chanlist" : {
"_name" : "can-chanlist"
},
"can-chanrem" : {
"_name" : "can-chanrem"
},
"can-chanset" : {
"_name" : "can-chanset"
},
"can-chanunset" : {
"_name" : "can-chanunset"
},
"can-clear-bans" : {
"_name" : "can-clear-bans"
},
"can-clear-mutes" : {
"_name" : "can-clear-mutes"
},
"can-cmdset" : {
"_name" : "can-cmdset"
},
"can-cmdunset" : {
"_name" : "can-cmdunset"
},
"can-countertrigger" : {
"_name" : "can-countertrigger"
},
"can-deop" : {
"_name" : "can-deop",
"can-mode-o" : 1
},
"can-devoice" : {
"_name" : "can-devoice",
"can-mode-v" : 1
},
"can-die" : {
"_name" : "can-die"
},
"can-dumpbans" : {
"_name" : "can-dumpbans"
},
"can-eval" : {
"_name" : "can-eval"
},
"can-eventqueue" : {
"_name" : "can-eventqueue"
},
"can-export" : {
"_name" : "can-export"
},
"can-group-capabilities" : {
"_name" : "can-group-capabilities"
},
"can-ignore" : {
"_name" : "can-ignore"
},
"can-in" : {
"_name" : "can-in"
},
"can-invite" : {
"_name" : "can-invite"
},
"can-join" : {
"_name" : "can-join"
},
"can-kick" : {
"_name" : "can-kick"
},
"can-kick-wildcard" : {
"_name" : "can-kick-wildcard"
},
"can-kill" : {
"_name" : "can-kill"
},
"can-load" : {
"_name" : "can-load"
},
"can-mode" : {
"_name" : "can-mode"
},
"can-mode-any" : {
"_name" : "can-mode-any",
"can-mode" : 1,
"can-mode-A" : 1,
"can-mode-B" : 1,
"can-mode-C" : 1,
"can-mode-D" : 1,
"can-mode-E" : 1,
"can-mode-F" : 1,
"can-mode-G" : 1,
"can-mode-H" : 1,
"can-mode-I" : 1,
"can-mode-J" : 1,
"can-mode-K" : 1,
"can-mode-L" : 1,
"can-mode-M" : 1,
"can-mode-N" : 1,
"can-mode-O" : 1,
"can-mode-P" : 1,
"can-mode-Q" : 1,
"can-mode-R" : 1,
"can-mode-S" : 1,
"can-mode-T" : 1,
"can-mode-U" : 1,
"can-mode-V" : 1,
"can-mode-W" : 1,
"can-mode-X" : 1,
"can-mode-Y" : 1,
"can-mode-Z" : 1,
"can-mode-a" : 1,
"can-mode-b" : 1,
"can-mode-c" : 1,
"can-mode-d" : 1,
"can-mode-e" : 1,
"can-mode-f" : 1,
"can-mode-g" : 1,
"can-mode-h" : 1,
"can-mode-i" : 1,
"can-mode-j" : 1,
"can-mode-k" : 1,
"can-mode-l" : 1,
"can-mode-m" : 1,
"can-mode-n" : 1,
"can-mode-o" : 1,
"can-mode-p" : 1,
"can-mode-q" : 1,
"can-mode-r" : 1,
"can-mode-s" : 1,
"can-mode-t" : 1,
"can-mode-u" : 1,
"can-mode-v" : 1,
"can-mode-w" : 1,
"can-mode-x" : 1,
"can-mode-y" : 1,
"can-mode-z" : 1
},
"can-modify-admins" : {
"_name" : "can-modify-admins"
},
"can-modify-capabilities" : {
"_name" : "can-modify-capabilities"
},
"can-mute" : {
"_name" : "can-mute",
"can-mode-q" : 1
},
"can-op" : {
"_name" : "can-op",
"can-mode-o" : 1
},
"can-op-wildcard" : {
"_name" : "can-op-wildcard"
},
"can-part" : {
"_name" : "can-part"
},
"can-plug" : {
"_name" : "can-plug"
},
"can-rebuildaliases" : {
"_name" : "can-rebuildaliases"
},
"can-refresh" : {
"_name" : "can-refresh"
},
"can-regchange" : {
"_name" : "can-regchange"
},
"can-regex" : {
"_name" : "can-regex"
},
"can-regset" : {
"_name" : "can-regset"
},
"can-regsetmeta" : {
"_name" : "can-regsetmeta"
},
"can-regunset" : {
"_name" : "can-regunset"
},
"can-regunsetmeta" : {
"_name" : "can-regunsetmeta"
},
"can-reload" : {
"_name" : "can-reload"
},
"can-replug" : {
"_name" : "can-replug"
},
"can-sl" : {
"_name" : "can-sl"
},
"can-unban" : {
"_name" : "can-unban",
"can-mode-b" : 1
},
"can-ungroup-capabilities" : {
"_name" : "can-ungroup-capabilities"
},
"can-unignore" : {
"_name" : "can-unignore"
},
"can-unload" : {
"_name" : "can-unload"
},
"can-unmute" : {
"_name" : "can-unmute",
"can-mode-q" : 1
},
"can-unplug" : {
"_name" : "can-unplug"
},
"can-useradd" : {
"_name" : "can-useradd"
},
"can-userdel" : {
"_name" : "can-userdel"
},
"can-userset" : {
"_name" : "can-userset"
},
"can-userunset" : {
"_name" : "can-userunset"
},
"can-voice" : {
"_name" : "can-voice",
"can-mode-v" : 1
},
"can-voice-wildcard" : {
"_name" : "can-voice-wildcard"
},
"chanmod" : {
"_name" : "chanmod",
"can-devoice" : 1,
"can-mod" : 1,
"can-voice" : 1,
"can-voice-wildcard" : 1
},
"chanop" : {
"_name" : "chanop",
"can-ban" : 1,
"can-deop" : 1,
"can-devoice" : 1,
"can-ignore" : 1,
"can-invite" : 1,
"can-kick" : 1,
"can-mute" : 1,
"can-op" : 1,
"can-unban" : 1,
"can-unignore" : 1,
"can-unmute" : 1,
"can-voice" : 1,
"is-whitelisted" : 1
},
"is-whitelisted" : {
"_name" : "is-whitelisted"
}
}

9
data/channels vendored
View File

@ -1,7 +1,12 @@
{
"#pbot2" : {
"enabled" : "1",
"chanop" : "0"
"_name" : "#pbot2",
"chanop" : "0",
"enabled" : "1"
},
"$metadata$" : {
"_name" : "$metadata$",
"update_version" : 3503
}
}

4
data/commands vendored
View File

@ -1,4 +1,8 @@
{
"$metadata$" : {
"_name" : "$metadata$",
"update_version" : 3503
},
"actiontrigger" : {
"_name" : "actiontrigger",
"dont-replace-pronouns" : "1",

10
data/ignorelist vendored
View File

@ -0,0 +1,10 @@
{
"$metadata$" : {
"$metadata$" : {
"_name" : "$metadata$",
"update_version" : 3503
},
"_name" : "$metadata$"
}
}

1
data/last_update vendored Normal file
View File

@ -0,0 +1 @@
3507

193
data/registry vendored
View File

@ -1,373 +1,496 @@
{
"$metadata$" : {
"$metadata$" : {
"_name" : "$metadata$",
"update_version" : 3503
},
"_name" : "$metadata$"
},
"antiaway" : {
"_name" : "antiaway",
"bad_actions" : {
"_name" : "bad_actions",
"type" : "text",
"value" : "^/me (is (away|gone)|.*auto.?away)"
},
"bad_nicks" : {
"_name" : "bad_nicks",
"type" : "text",
"value" : "(^z+[[:punct:]]|[[:punct:]](afk|brb|bbl|away|sleep|asleep|nap|z+|work|gone|study|out|home|busy|off)[[:punct:]]*$|afk$)"
},
"kick_msg" : {
"_name" : "kick_msg",
"type" : "text",
"value" : "http://sackheads.org/~bnaylor/spew/away_msgs.html"
}
},
"antiflood" : {
"_name" : "antiflood",
"antirepeat" : {
"_name" : "antirepeat",
"type" : "text",
"value" : "1"
},
"antirepeat_allow_bot" : {
"_name" : "antirepeat_allow_bot",
"type" : "text",
"value" : "1"
},
"antirepeat_match" : {
"_name" : "antirepeat_match",
"type" : "text",
"value" : "0.5"
},
"antirepeat_threshold" : {
"_name" : "antirepeat_threshold",
"type" : "text",
"value" : "2.5"
},
"chat_flood_punishment" : {
"_name" : "chat_flood_punishment",
"type" : "array",
"value" : "60,300,3600,86400,604800,2419200"
},
"chat_flood_threshold" : {
"_name" : "chat_flood_threshold",
"type" : "text",
"value" : "4"
},
"chat_flood_time_threshold" : {
"_name" : "chat_flood_time_threshold",
"type" : "text",
"value" : "5"
},
"debug_checkban" : {
"_name" : "debug_checkban",
"type" : "text",
"value" : "0"
},
"dont_enforce_admins" : {
"_name" : "dont_enforce_admins",
"type" : "text",
"value" : "1"
},
"enforce" : {
"_name" : "enforce",
"type" : "text",
"value" : "1"
},
"enter_abuse_max_offenses" : {
"_name" : "enter_abuse_max_offenses",
"type" : "text",
"value" : "3"
},
"enter_abuse_punishment" : {
"_name" : "enter_abuse_punishment",
"type" : "array",
"value" : "60,300,3600,86400,604800,2419200"
},
"enter_abuse_threshold" : {
"_name" : "enter_abuse_threshold",
"type" : "text",
"value" : "4"
},
"enter_abuse_time_threshold" : {
"_name" : "enter_abuse_time_threshold",
"type" : "text",
"value" : "15"
},
"join_flood_punishment" : {
"_name" : "join_flood_punishment",
"type" : "array",
"value" : "115200,3600,10800,604800"
},
"join_flood_threshold" : {
"_name" : "join_flood_threshold",
"type" : "text",
"value" : "4"
},
"join_flood_time_threshold" : {
"_name" : "join_flood_time_threshold",
"type" : "text",
"value" : "1800"
},
"nick_flood_punishment" : {
"_name" : "nick_flood_punishment",
"type" : "array",
"value" : "1800,3600,86400,604800"
},
"nick_flood_threshold" : {
"_name" : "nick_flood_threshold",
"type" : "text",
"value" : "3"
},
"nick_flood_time_threshold" : {
"_name" : "nick_flood_time_threshold",
"type" : "text",
"value" : "1800"
}
},
"antikickautorejoin" : {
"_name" : "antikickautorejoin",
"punishment" : {
"_name" : "punishment",
"type" : "array",
"value" : "300,900,1800,3600,28800"
},
"threshold" : {
"_name" : "threshold",
"type" : "text",
"value" : "4"
}
},
"antispam" : {
"_name" : "antispam",
"enforce" : {
"_name" : "enforce",
"type" : "text",
"value" : "1"
}
},
"autorejoin" : {
"_name" : "autorejoin",
"rejoin_delay" : {
"_name" : "rejoin_delay",
"type" : "array",
"value" : "900,1800,3600"
}
},
"bantracker" : {
"_name" : "bantracker",
"chanserv_ban_timeout" : {
"_name" : "chanserv_ban_timeout",
"type" : "text",
"value" : "604800"
},
"debug" : {
"_name" : "debug",
"type" : "text",
"value" : "0"
},
"mute_timeout" : {
"_name" : "mute_timeout",
"type" : "text",
"value" : "604800"
}
},
"date" : {
"_name" : "date",
"default_timezone" : {
"_name" : "default_timezone",
"type" : "text",
"value" : "UTC"
}
},
"dualindexsqliteobject" : {
"_name" : "dualindexsqliteobject",
"debug_factoids" : {
"_name" : "debug_Factoids",
"type" : "text",
"value" : 0
}
},
"factoids" : {
"_name" : "factoids",
"default_rate_limit" : {
"_name" : "default_rate_limit",
"type" : "text",
"value" : "15"
},
"max_channel_length" : {
"_name" : "max_channel_length",
"type" : "text",
"value" : "20"
},
"max_content_length" : {
"_name" : "max_content_length",
"type" : "text",
"value" : "8192"
},
"max_name_length" : {
"_name" : "max_name_length",
"type" : "text",
"value" : "100"
}
},
"general" : {
"_name" : "general",
"autojoin_wait_for_nickserv" : {
"_name" : "autojoin_wait_for_nickserv",
"type" : "text",
"value" : "0"
},
"compile_blocks" : {
"_name" : "compile_blocks",
"type" : "text",
"value" : "1"
},
"compile_blocks_channels" : {
"_name" : "compile_blocks_channels",
"type" : "array",
"value" : ".*"
},
"compile_blocks_ignore_channels" : {
"_name" : "compile_blocks_ignore_channels",
"type" : "array",
"value" : "none"
},
"data_dir" : {
"_name" : "data_dir",
"type" : "text",
"value" : ""
"value" : "data"
},
"debugcontext" : {
"_name" : "debugcontext",
"type" : "text",
"value" : "0"
},
"deop_timeout" : {
"_name" : "deop_timeout",
"type" : "text",
"value" : "300"
},
"identify_nick" : {
"type" : "text",
"value" : "nickserv"
},
"identify_command" : {
"_name" : "identify_command",
"type" : "text",
"value" : "identify $nick $password"
},
"module_dir" : {
"identify_nick" : {
"_name" : "identify_nick",
"type" : "text",
"value" : ""
"value" : "nickserv"
},
"module_dir" : {
"_name" : "module_dir",
"type" : "text",
"value" : "./modules"
},
"module_repo" : {
"_name" : "module_repo",
"type" : "text",
"value" : "https://github.com/pragma-/pbot/blob/master/modules/"
},
"op_nick" : {
"type" : "text",
"value" : "chanserv"
},
"op_command" : {
"type" : "text",
"value" : "op $channel"
},
"module_timeout" : {
"_name" : "module_timeout",
"type" : "text",
"value" : "30"
},
"plugin_dir" : {
"op_command" : {
"_name" : "op_command",
"type" : "text",
"value" : ""
"value" : "op $channel"
},
"op_nick" : {
"_name" : "op_nick",
"type" : "text",
"value" : "chanserv"
},
"plugin_dir" : {
"_name" : "plugin_dir",
"type" : "text",
"value" : "./Plugins"
},
"show_url_titles" : {
"_name" : "show_url_titles",
"type" : "text",
"value" : "1"
},
"show_url_titles_channels" : {
"_name" : "show_url_titles_channels",
"type" : "array",
"value" : ".*"
},
"show_url_titles_ignore_channels" : {
"_name" : "show_url_titles_ignore_channels",
"type" : "array",
"value" : "none"
},
"strictnamespace" : {
"_name" : "strictnamespace",
"type" : "text",
"value" : "1"
},
"trigger" : {
"_name" : "trigger",
"type" : "text",
"value" : "[!]"
}
},
"googlesearch" : {
"api_key" : {
"private" : "1",
"type" : "text",
"value" : ""
},
"context" : {
"private" : "1",
"type" : "text",
"value" : ""
}
"_name" : "googlesearch",
"api_key" : {
"_name" : "api_key",
"private" : "1",
"type" : "text",
"value" : ""
},
"context" : {
"_name" : "context",
"private" : "1",
"type" : "text",
"value" : ""
}
},
"interpreter" : {
"_name" : "interpreter",
"max_recursion" : {
"_name" : "max_recursion",
"type" : "text",
"value" : "100"
}
},
"irc" : {
"_name" : "irc",
"botnick" : {
"_name" : "botnick",
"type" : "text",
"value" : ""
},
"debug" : {
"_name" : "debug",
"type" : "text",
"value" : "0"
},
"identify_password" : {
"_name" : "identify_password",
"private" : "1",
"type" : "text",
"value" : ""
},
"server" : {
"type" : "text",
"value" : "irc.freenode.net"
},
"log_default_handler" : {
"_name" : "log_default_handler",
"type" : "text",
"value" : "1"
},
"max_msg_len" : {
"_name" : "max_msg_len",
"type" : "text",
"value" : "425"
},
"port" : {
"_name" : "port",
"type" : "text",
"value" : "6667"
},
"realname" : {
"type" : "text",
"value" : "https://github.com/pragma-/pbot"
},
"randomize_nick" : {
"_name" : "randomize_nick",
"type" : "text",
"value" : "0"
},
"realname" : {
"_name" : "realname",
"type" : "text",
"value" : "https://github.com/pragma-/pbot"
},
"server" : {
"_name" : "server",
"type" : "text",
"value" : "irc.freenode.net"
},
"show_motd" : {
"_name" : "show_motd",
"type" : "text",
"value" : "1"
},
"ssl" : {
"_name" : "ssl",
"type" : "text",
"value" : "0"
},
"ssl_ca_file" : {
"_name" : "ssl_ca_file",
"private" : "1",
"type" : "text",
"value" : "none"
},
"ssl_ca_path" : {
"_name" : "ssl_ca_path",
"private" : "1",
"type" : "text",
"value" : "none"
},
"username" : {
"_name" : "username",
"type" : "text",
"value" : "pbot3"
}
},
"lagchecker" : {
"_name" : "lagchecker",
"lag_history_interval" : {
"_name" : "lag_history_interval",
"type" : "text",
"value" : "10"
},
"lag_history_max" : {
"_name" : "lag_history_max",
"type" : "text",
"value" : "3"
},
"lag_threshold" : {
"_name" : "lag_threshold",
"type" : "text",
"value" : "2000"
}
},
"messagehistory" : {
"_name" : "messagehistory",
"debug_aka" : {
"_name" : "debug_aka",
"type" : "text",
"value" : "0"
},
"debug_link" : {
"_name" : "debug_link",
"type" : "text",
"value" : "0"
},
"max_messages" : {
"_name" : "max_messages",
"type" : "text",
"value" : "32"
},
"max_recall_time" : {
"_name" : "max_recall_time",
"type" : "text",
"value" : "0"
},
"sqlite_commit_interval" : {
"_name" : "sqlite_commit_interval",
"type" : "text",
"value" : "5"
},
"sqlite_debug" : {
"_name" : "sqlite_debug",
"type" : "text",
"value" : "0"
}
},
"nicklist" : {
"_name" : "nicklist",
"debug" : {
"_name" : "debug",
"type" : "text",
"value" : "0"
}
},
"plugins" : {
"_name" : "plugins",
"disabled" : {
"_name" : "disabled",
"type" : "text",
"value" : "0"
},
"noautoload" : {
"_name" : "noautoload",
"type" : "text",
"value" : "0"
}
},
"spinach" : {
"_name" : "spinach",
"file" : {
"_name" : "file",
"type" : "text",
"value" : "jeopardy_complete.json"
}

10
data/spam_keywords vendored
View File

@ -0,0 +1,10 @@
{
"$metadata$" : {
"$metadata$" : {
"_name" : "$metadata$",
"update_version" : 3503
},
"_name" : "$metadata$"
}
}

10
data/unban_timeouts vendored
View File

@ -0,0 +1,10 @@
{
"$metadata$" : {
"$metadata$" : {
"_name" : "$metadata$",
"update_version" : 3503
},
"_name" : "$metadata$"
}
}

10
data/unmute_timeouts vendored
View File

@ -0,0 +1,10 @@
{
"$metadata$" : {
"$metadata$" : {
"_name" : "$metadata$",
"update_version" : 3503
},
"_name" : "$metadata$"
}
}

10
data/users vendored
View File

@ -0,0 +1,10 @@
{
"$metadata$" : {
"$metadata$" : {
"_name" : "$metadata$",
"update_version" : 3503
},
"_name" : "$metadata$"
}
}