Add config example and data/fortunes.txt
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
37
config.example.toml
Normal file
37
config.example.toml
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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"
|
||||
17
data/fortunes.txt
Normal file
17
data/fortunes.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
Excellent Luck
|
||||
Good Luck
|
||||
Average Luck
|
||||
Bad Luck
|
||||
Good news will come to you by mail
|
||||
You will meet a dark handsome stranger
|
||||
Better not tell you now
|
||||
Outlook good
|
||||
Very Bad Luck
|
||||
Godly Luck
|
||||
Outlook bad
|
||||
Today will be a good day!
|
||||
Pack a raincoat
|
||||
Fair Luck
|
||||
Good weather for cocks
|
||||
Look towards the setting sun
|
||||
Love is in your future
|
||||
Reference in New Issue
Block a user