37 lines
1.1 KiB
TOML
37 lines
1.1 KiB
TOML
# The server host to connect to.
|
|
# There is no default for this and must be supplied.
|
|
server = "irc.example.com"
|
|
|
|
# Whether to use SSL or not.
|
|
# default: false
|
|
# use_ssl = true
|
|
|
|
# What port to connect on.
|
|
# default: 6667, or 6697 when use_ssl is set to true.
|
|
# port = 6697
|
|
|
|
# The nickname to use for this bot. Make sure it's available before you use it!
|
|
# default: omnibot
|
|
nick = "omnibot"
|
|
|
|
# A list of all channels to join by default.
|
|
# default: []
|
|
channels = ["#friends", "#chat"]
|
|
|
|
# A plugin block starts with [[plugins]]
|
|
|
|
[[plugins]]
|
|
# The module to load this plugin from. This should be a Python module.
|
|
# This is required.
|
|
module = "plugins.fortune"
|
|
|
|
# The list of channels that this plugin should listen on. This list can include
|
|
# channels outside of the channels supplied in the server config.
|
|
# By default, it will listen on all channels in the server config.
|
|
channels = ["#fortune_telling"]
|
|
|
|
# The rest of this plugin block are specific to the plugin - check the plugin's
|
|
# documentation for the values you can set.
|
|
|
|
# A list of fortunes, or a path to a list of fortunes - one per line.
|
|
fortunes = "data/fortunes.txt" |