summaryrefslogtreecommitdiffstats
path: root/config-default/settings.json
diff options
context:
space:
mode:
authorLibravatarJanik Kleinhoff <ilbelkyr@shalture.org>2016-09-05 01:09:49 +0000
committerLibravatarJanik Kleinhoff <ilbelkyr@shalture.org>2016-10-07 22:42:33 +0000
commite29b1456c06576b607fd255f5da34a3cc3e97ca2 (patch)
treefeeb5925dd9f0b6e9e692e34b7b8dca1ecbd8275 /config-default/settings.json
parente3e5402155786931fffd78e71bb2a7324a677ff0 (diff)
Extirpate traces of XML
Summary: Resolve T6 and use the opportunity to get rid of our dependency on `XML::Simple` once and for all. Test Plan: Run the bot with JSON config files. Reviewers: Unit193 Reviewed By: Unit193 Tags: #antispammeta Maniphest Tasks: T6 Differential Revision: https://asm.shalture.org/D1
Diffstat (limited to 'config-default/settings.json')
-rw-r--r--config-default/settings.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/config-default/settings.json b/config-default/settings.json
new file mode 100644
index 0000000..6b6347c
--- /dev/null
+++ b/config-default/settings.json
@@ -0,0 +1,35 @@
+{
+ "altnicks" : [
+ "AntiSpamMeta_",
+ "AntiSpamMeta2"
+ ],
+ "autojoins" : "#antispammeta",
+ "debugchan" : "#antispammeta-debug",
+ "log" : {
+ "actiondir" : "actionlogs/",
+ "detectdir" : "detectlogs/",
+ "dir" : "logs/",
+ "filefmt" : "-%Y-%m-%d.log",
+ "timefmt" : "%Y-%m-%d %T ",
+ "zone" : "GMT"
+ },
+ "masterchan" : "#antispammeta",
+ "nick" : "AntiSpamMeta",
+ "pass" : {},
+ "port" : "6697",
+ "realname" : "I am a new AntiSpamBot in the making.",
+ "server" : [
+ "irc.freenode.net"
+ ],
+ "ssl" : "1",
+ "username" : "MetaBot",
+ "web" : {
+ "groupfile" : "/var/www/.htgroup",
+ "shortener" : {
+ "apikey" : "yoursecretkey",
+ "domain" : "yourls.org",
+ "secure" : "0"
+ },
+ "userfile" : "/var/www/.htpasswd"
+ }
+}