forked from rikai/Showbot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcinchize.yml.example
124 lines (119 loc) · 3.09 KB
/
cinchize.yml.example
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
---
test_hosts: &test_hosts
Live_Url: "localhost:5000/live"
Sinatra_Url: "http://localhost:5000"
live_hosts: &live_hosts
Live_Url: "example.com/live"
Sinatra_Url: "http://www.example.com"
auth_admin:
admins:
- "ChrisLAS"
- "KernelLinux"
- "rikai"
# Plugins used for all configs
plugins: &plugins
plugins:
-
class: "Cinch::Plugins::About"
-
class: "Cinch::Plugins::Admin"
options:
:data_json: "local/path/to/data.json" # Local path, relative to the base bot folder
:admins:
- "YourNickHere"
class: "Cinch::Plugins::DigitalOcean"
-
class: "Cinch::Plugins::Bacon"
-
class: "Cinch::Plugins::Bittick"
-
class: "Cinch::Plugins::Help"
-
class: "Cinch::Plugins::Identify"
options:
:password: "test" # Enter your password here
:type: :nickserv # Most servers use nickserv, so setting this as the sane default.
-
class: "Cinch::Plugins::Links"
-
class: "Cinch::Plugins::LinkTitle"
-
class: "Cinch::Plugins::Quotes"
options:
:quotes_file: 'your-quotes-file.yml'
-
class: "Cinch::Plugins::Schedule"
options: # Customize these options to match your configuration
:app_name: 'JBot'
:app_version: '2.0.0'
:api_key: 'YOURAPIKEYHERE'
:calendar_id: 'CALENDARIDHERE@group.calendar.google.com'
-
class: "Cinch::Plugins::Shoutcast"
options:
:shoutcast_uri: "http://www.example.com/"
-
class: "Cinch::Plugins::StickyNick"
-
class: "Cinch::Plugins::Suggestions"
options:
live_titles:
enabled: true
test_hosts:
<<: *test_hosts
live_hosts:
<<: *live_hosts
-
class: "Cinch::Plugins::Twitter"
options:
:users: "test" # This can be a single user, or an array of Twitter users
# To get these values, you will need to register as a developer with Twitter
:consumer_key: "YOURCONSUMERKEYHERE"
:consumer_secret: "YOURCONSUMERSECRETHERE"
:access_token: "YOURACCESSTOKENHERE"
:access_token_secret: "YOURACCESSTOKENSECRETHERE"
-
class: "Cinch::Plugins::Uptime"
# The devtools plugin should only be used during development
# -
# class: "Cinch::Plugins::DevTools"
# The base configuration, Freenode in the example configuration.
network_base: &network_base
<<: *plugins
server: irc.freenode.net
port: 6667
options:
log_output: true
dir_mode: normal
dir: "pid"
servers:
network_test:
<<: *network_base
nick: botname_test
messages_per_second: 1
server_queue_size: 5
channels:
- "#cinch-bots"
shared:
Bot_Nick: "botname"
Backup_Bot_Nick: "botname-backup"
Live_Url: "localhost:5000/live"
Sinatra_Url: "http://localhost:5000"
# This controls Cinch::Cooldown.
:cooldown:
:config:
:linux:
:global: 2
:user: 4
<<: *test_hosts
network_live:
<<: *network_base
nick: botname
messages_per_second: 1
server_queue_size: 5
channels:
- "#cinch-bots"
shared:
Bot_Nick: "botname"
Backup_Bot_Nick: "botname-backup"
<<: *live_hosts