-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.EXAMPLE.coffee
113 lines (112 loc) · 2.91 KB
/
config.EXAMPLE.coffee
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
greetings = [
(channel) ->
@me channel, 'says hi'
, (channel) ->
@me channel, "is pleased to be in #{channel}!"
, (channel) ->
@me channel, "doesn't follow the laws of robotics..."
, (channel) ->
@me channel, 'is going to kill you'
, (channel) ->
@say channel, 'hi!'
, (channel) ->
@say channel, 'did you miss me?'
, (channel) ->
@say channel, "I'm back!"
, (channel) ->
@say channel, "what's that smell?"
@say channel, "wooops, sorry, it's me"
, (channel) ->
@say channel, "no, I won't !help you"
, (channel) ->
@say channel, "mi no abla espagniolo"
]
module.exports =
socket:
port: 6667
host: 'irc.quakenet.org'
localAddress: '0.0.0.0'
connection:
encoding: 'utf8'
user:
nick: ['nerdobot', 'nerdobot_', 'nerdobot__']
login: 'nerdobot'
pass: 'password'
realname: 'NerdoBot'
invisible: true
wallops: false
throttle: 15000 # first throttle time (increments *= 2 per throttle)
channels: ['#mediavida'] # channels to log upon connection (even before service auths)
prefix: '!'
antiflood: 1000 # min msecs between commands
plugins:
debug: {}
dice: {}
eval:
coffee: true
gitpush:
allowed: ['207.97.227.253', '50.57.128.197', '108.171.174.178', '127.0.0.1']
path: '/'
port: 9999
repositories: [
name: 'nerdobot'
owner: 'alvaro-cuesta'
to: ['#mv.nerd']
]
google: 1
help:
hidden: ['raw', 'say', 'asay', 'me', 'ame', 'nick']
banner: " Contribute to \x02nerdobot\x0f! Visit \x032\x1fhttps://github.com/alvaro-cuesta/nerdobot\x0f for download and free source code."
hi: greetings
irc: {}
isohunt:
results: 3
shorten: false
q:
service:
nick: 'Q'
user: 'TheQBot'
host: 'CServe.quakenet.org'
user: 'nerdobot'
pass: 'password'
hash: '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8' # remove 'pass' if you use this
channels: ['#mv.nerd'] # channels to log AFTER Q authing
quotes: '/opt/nerdo/nerdobot.sqlite3'
raw: {}
spy: {}
tinysong: 'api-key'
tits: {}
wunderground: 'api-key'
youtube:
results: 1
random: false
options:
region: 'US'
'max-results': 1
'paid-content': false
safeSearch: 'none'
aliases:
dice: ['d']
eval: ['js']
'eval-block': ['jsb']
coffee: ['coff']
'coffee-block': ["coffb"]
google: ['g']
wikipedia: ['wiki', 'w']
isohunt: ['torrent', 't']
tinysong: ['song', 'tiny']
wunderground: ['weather']
youtube: ['yt']
whitelist:
raw: [] # only users in group 'admin' can run this command
nick: []
say: ['talker']
me: ['talker']
asay: ['broadcaster']
ame: ['broadcaster']
'eval-block': ['developer']
'coff-block': ['developer']
users:
alvaro: ['admin']
Tunner: ['talker', 'broadcaster']
'nerdobot-dev': ['talker']