2020-06-12 17:29:35 -04:00
|
|
|
alias Omnibot.Config
|
|
|
|
|
|
|
|
|
|
config = %Config {
|
2020-08-18 16:33:43 -07:00
|
|
|
nick: "omnibot",
|
|
|
|
|
server: "chat.freenode.net",
|
2020-06-12 17:29:35 -04:00
|
|
|
port: 6667,
|
|
|
|
|
ssl: false,
|
|
|
|
|
|
2020-07-06 18:13:37 -07:00
|
|
|
plugins: [
|
2020-08-18 16:33:43 -07:00
|
|
|
# Required for operation of Omnibot.
|
|
|
|
|
# Core can be replaced with another implementation, but generally this should be in every config.
|
2020-08-11 15:23:53 -07:00
|
|
|
Omnibot.Core,
|
2020-08-18 16:33:43 -07:00
|
|
|
# Use OnConnect module to register commands
|
2020-07-06 18:13:37 -07:00
|
|
|
{Omnibot.Contrib.OnConnect, commands: [
|
|
|
|
|
["privmsg", "nickserv", "register", "password123", "omnibot@omni.bot"],
|
|
|
|
|
["privmsg", "nickserv", "identify", "password123"]
|
|
|
|
|
]},
|
2020-08-18 16:33:43 -07:00
|
|
|
# Use Linkbot to get titles of URLs posted in the chat
|
2020-06-13 21:01:23 -04:00
|
|
|
{Omnibot.Contrib.Linkbot, channels: :all},
|
2020-08-18 16:33:43 -07:00
|
|
|
# Fortune will spit out fun messages with the !fortune command - try it out!
|
2020-07-02 17:26:14 -07:00
|
|
|
{Omnibot.Contrib.Fortune, channels: :all},
|
2020-07-16 17:54:34 -07:00
|
|
|
{Omnibot.Contrib.Wordbot, channels: ["#idleville"], ignore: ["username"]},
|
2020-06-12 17:29:35 -04:00
|
|
|
],
|
|
|
|
|
|
2020-07-21 17:45:03 -07:00
|
|
|
#plugin_paths: [{"plugins", recurse: true}]
|
2020-06-12 17:29:35 -04:00
|
|
|
}
|