-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdefault.yaml
89 lines (67 loc) · 2.32 KB
/
default.yaml
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
# Bot personality settings
bot:
# Name the bot identifies itself as by default
name: FritBot
# Other names the bot will respond to, as in 'fb say hello'
nicknames:
- fb
- fritbot
# Modules to always load, and cannot be turned off by the admin panel.
# This should not need to normally be changed - you can load more modules from the admin panel - but these ones are REQUIRED for operation.
modules:
- chat_core
- api_core
# Who gets to be a superadmin? Set this to the user's UID - depends on connection type
super_admins:
- your_jid
# Chat Connection Settings
connect:
# what method to connect with - must be one of the installed connector types
method: jabber
# if connecting with jabber, use these settings. Obviously, you'll need to change these.
jabber:
# This is as in the format your_jid@your_host.example.com/your_resource
jid: your_jid
resource: your_resource
password: your_password
server: yourhost.example.com
# Conference server host used to connect to group chats, frequently the conference. subdomain of your jabber server.
confserver: conference.yourhost.example.com
status: The Angriest Bot
# A list of rooms for the bot to join at startup
rooms:
- bottest
# Set to true to log all traffic running through xmpp. Not recommended except for low-level debugging.
log_traffic: False
# if connecting with irc, use these settings.
irc:
# Selected server & port
server: irc.example.net
port: 6667
# Will attempt to identify as the following. Will disconnect if it can't identify.
nick: your_nick
password: your_password
# Channels to join at startup
channels:
- '#fritbot'
# Logging settings
logging:
filename: logs/fritbot.log
# Database Settings
mongo:
# db name
db: fritbot
# minimum refresh time for cached data from the DB
refresh: 1
# API Service Settings
api:
# Debug mode - turn off for production servers
debug: True
# Default limit length for requests
default_limit: 10
# Max length limit
max_limit: 100
# Port to listen to
port: 4886
# Time a user has to confirm an API key, in minutes.
login_timeout: 5