From 261ac4147e2f721f26d460d316205296042e885d Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 16 Sep 2018 23:52:58 +1200 Subject: Update config for new format --- bot.conf.example | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'bot.conf.example') 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 -- cgit v1.1