-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathINSTALL
58 lines (44 loc) · 1.82 KB
/
INSTALL
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
.,:: .::::::::. ... ::::::::::::
`;;;, .,;; ;;;'';;' .;;;;;;;.;;;;;;;;''''
'[[,,[[' [[[__[[\.,[[ \[[, [[
Y$$$P $$""""Y$$$$$, $$$ $$
oP"``"Yo, _88o,,od8P"888,_ _,88P 88,
,m" "Mm,""YUMMMP" "YMMMMMP" MMM
INSTALLATION INSTRUCTIONS
-------------------------------------------------------------------------
1. Copy source to dir
2. Create configuration file at /etc/xbot/xbot.conf, example below:
; network configs must begin with 'network:' in their section name
[network: freenode]
; servers you would like to try and connect to, in this order
; (will fallback to the next server in list upon failure to connect)
; only SSL servers are currently supported
servers = chat.au.freenode.net:7070, chat.freenode.net:7070
; your bot's desired nick
nick = xbot
; if your bot's nick is not registered, you must make this blank
password = your-nickserv-password
; administrator's nick
; used solely for sending emergency data if it is not known
; where else to send it
admin = your-owner-nick
; administrator's hostnames
; users with these hostnames will be able to perform admin actions
admin_hostnames = unaffiliated/xbotlover
; comma-separated list of channels to join automatically upon
; successful connection to a server
channels = #ilovexbot
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; module configs must begin with 'module:' in their section name
[module: botdb]
; below entries required for logger and quotes modules
; see DATABASE file for table structure
db_host = localhost
db_user = xbot
db_pass = your-db-password
db_name = xbot_quotes
[module: wolframalpha]
; below entry required for wolframalpha module
wa_app_id = wolfram-alpha-app-id
3. Give 'bot' file execute permissions, and run ./bot
4. Enjoy!