From de1101ddfbf21f899120ef6b3b1c12bbbd0d760a Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Mon, 23 May 2022 19:02:25 -0700 Subject: [PATCH] Add config example and data/fortunes.txt Signed-off-by: Alek Ratzloff --- config.example.toml | 37 +++++++++++++++++++++++++++++++++++++ data/fortunes.txt | 17 +++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 config.example.toml create mode 100644 data/fortunes.txt diff --git a/config.example.toml b/config.example.toml new file mode 100644 index 0000000..576796a --- /dev/null +++ b/config.example.toml @@ -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" \ No newline at end of file diff --git a/data/fortunes.txt b/data/fortunes.txt new file mode 100644 index 0000000..5eb9d3d --- /dev/null +++ b/data/fortunes.txt @@ -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 \ No newline at end of file