-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.conf
125 lines (95 loc) · 3.53 KB
/
sample.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Sample configuration file for the Anna chatbot.
[xmpp]
# Info about the bot's jabber account
JID = [email protected]
# Leave the password field blank to be prompted at startup.
password = secret
resource = anna
# Number of seconds to wait between reconnection attempts when
# disconnected.
reconnect_interval = 5
[xmpp_tls]
# Is TLS required.
;require = False
# Should the peer's certificate be verified.
;verify_peer = True
# Path to own X.509 certificate.
;cert_file =
# Path to the private key for own X.509 certificate.
;key_file =
# Path to a file with trusted CA certificates
;cacert_file =
[agenda_plugin]
db_uri = sqlite:///main.db
[factoids_plugin]
db_uri = sqlite:///main.db
[reactions_plugin]
db_uri = sqlite:///main.db
[annai_plugins]
# This is the list of available plugins. The part after name_ in the key
# is the python name for the module (e.g.: irrepressible_info). The
# value is the name users will see/use to (un)load the plugin. This list
# is inclusive; what is not listed here is not available. Where
# applicable dependencies have been mentioned. See the INSTALL.txt file
# for more information.
# These plugins require no extra modules.
name_dump = dump
name_feedfetcher = feedfetcher
name_irrepressible_info = irrepressible.info
name_k = k
;name_mucproxy = mucproxy # Experimental.
name_sanna = sanna
name_spamblock = spamblock
name_test = test
name_time_ = time
# This plugin depends on JPype.
;name_annarithmetic = annarithmetic
# These plugins depend on sqlalchemy.
;name_agenda = agenda
;name_factoids = factoids
;name_reactions = reactions
# This plugin depends on the reactions plugin which depends on
# SQLAlchemy.
;name_randomreaction = randomreaction
# List of default plugins to load (in that order) at the start of a
# conversation. Be careful of which plugins you list here: they are
# loaded during the initialization of an AI module so they must be built
# accordingly. The default list is always alright. If unsure: try and
# see.
default = k, irrepressible.info, time, spamblock
[irc_networks]
# Different IRC networks can be supplied by using different prefixes.
# IP-address or hostname of the server to connect to.
example1_host = irc.example.com
# All messages coming from the server are expected to be encoded in the
# given encoding. If a message fails to decode that way (illegal
# byte-sequences) the bot will crash. This is a test to see how many
# (and which) servers send illegal data. Please let us know if you find
# such a server.
example1_encoding = us-ascii
# Comma-seperated list of channels to join.
example1_channels = #test, #bot
# Port to connect to (optional, defaults to 6667).
;example1_port = 6667
# Nickname to use (optional, defaults to the bot_nickname value from the
# [misc] section).
;example1_nick = anna
# To specify another network:
;example2_host = irc.example.net
# etc...
[misc]
default_ai = echo
# The nickname the bot will use to join groupchats
bot_nickname = anna
# Characters used to determine incoming highlights as well as construct
# outgoing messages in groupchats. Every character is evaluated
# seperately.
highlight = :;,
# User-agent header sent with HTTP connections. This value is not
# enforced; some parts of the bot (like plugins for the annai module)
# MAY choose to send something different or nothing at all.
http_useragent = Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
# This option can be used any number of times in any section. If the
# given path is not absolute the default configuration directory
# (~/.anna/) is prepended.
;include: common.conf