From 09cb4ac752d5eebbcce368ab57536f5662e1fd34 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Tue, 18 Aug 2020 16:33:43 -0700 Subject: [PATCH] Update config with some docs Signed-off-by: Alek Ratzloff --- omnibot.example.exs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/omnibot.example.exs b/omnibot.example.exs index ca6355f..91ed6c2 100644 --- a/omnibot.example.exs +++ b/omnibot.example.exs @@ -1,18 +1,23 @@ alias Omnibot.Config config = %Config { - nick: "omnibot_testing", - server: "irc.bonerjamz.us", + nick: "omnibot", + server: "chat.freenode.net", port: 6667, ssl: false, plugins: [ + # Required for operation of Omnibot. + # Core can be replaced with another implementation, but generally this should be in every config. Omnibot.Core, + # Use OnConnect module to register commands {Omnibot.Contrib.OnConnect, commands: [ ["privmsg", "nickserv", "register", "password123", "omnibot@omni.bot"], ["privmsg", "nickserv", "identify", "password123"] ]}, + # Use Linkbot to get titles of URLs posted in the chat {Omnibot.Contrib.Linkbot, channels: :all}, + # Fortune will spit out fun messages with the !fortune command - try it out! {Omnibot.Contrib.Fortune, channels: :all}, {Omnibot.Contrib.Wordbot, channels: ["#idleville"], ignore: ["username"]}, ],