aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-16 23:52:58 +1200
committerDavid Phillips <david@sighup.nz>2018-09-17 00:01:48 +1200
commit261ac4147e2f721f26d460d316205296042e885d (patch)
treef6e64dc3059c3f113a944cee015d3b3623d9c1e3
parent5331e8ef6cdb9163e3ec6ee85491b7b286f4cbdc (diff)
downloadidalius-261ac4147e2f721f26d460d316205296042e885d.tar.xz
Update config for new format
-rw-r--r--bot.conf.example18
1 files changed, 11 insertions, 7 deletions
diff --git a/bot.conf.example b/bot.conf.example
index de08113..c7eddcf 100644
--- a/bot.conf.example
+++ b/bot.conf.example
@@ -1,4 +1,4 @@
-plugins = Plugin::Titillate, Plugin::Admin, Plugin::Ping
+plugins = [ Plugin::Titillate, Plugin::Admin, Plugin::Ping ]
nick = somebot
username = bot
ircname = a bot
@@ -7,18 +7,22 @@ port = 6667
usessl = 1
sslcert = foo.crt
sslkey = foo.key
-channels = #saxtalk,#bot
-ignore = trumpetbot,abusiveuser
+channels = [ #saxtalk, #bot]
+ignore = [trumpetbot, abusiveuser]
password = pleffquiffle
-admins = snargle!~kleg@glarg.example.com
must_id = 1
-quit_msg = "Goodbye!"
+quit_msg = Goodbye!
user = nobody
group = nobody
-triggers = 'sa+x' => '🎷 ', 'trumpet' => '🎺 ', 'snake' => '🐍 '
prefix_nick = 1
prefix = %
-# URL stuff
+[Plugin::Admin]
+admins = [ snargle!~kleg@glarg.example.com ]
+
+[Plugin::Titillate]
+triggers = { 'sa+x' => '🎷 ', 'trumpet' => '🎺 ', 'snake' => '🐍 ' }
+
+[Plugin::URL_Title]
url_len = 0