-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault-config.json
247 lines (247 loc) · 10.3 KB
/
default-config.json
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
{
"commands": {
"play": "Cadence play",
"stop": "Cadence stop",
"help": "Cadence help",
"nowplaying": "Cadence now playing",
"search": "Cadence search ",
"request": "Cadence request ",
"status": "Cadence status",
"history": "Cadence history"
},
"commandDescriptions": {
"play": {
"description": "Starts playing Cadence in your voice channel"
},
"stop": {
"description": "Stops playing Cadence and leaves your voice channel (so you can play it in another)"
},
"help": {
"description": "Generates this help message"
},
"nowplaying": {
"description": "Displays now playing information from Cadence"
},
"search": {
"description": "Search the Cadence database with a <query>",
"parameters": ["query"]
},
"request": {
"description": "Request a selected song to be played on Cadence",
"parameters": ["selection"]
},
"library": {
"description": "Request a list of songs in the Cadence database"
},
"status": {
"description": "Confirms that CadenceBot is active and reports on the state of the stream connection"
},
"history": {
"description": "Displays a list of up to the last ten unique songs played on Cadence"
}
},
"commandAliases": [
{
"target": "nowplaying",
"prefix": false,
"alias": "Cadence nowplaying"
},
{
"target": "request",
"prefix": true,
"alias": "Cadence play "
}
],
"customCommands": {
"equalTo": {
"Cadence introduce yourself": {
"response": "Hi, I'm CadenceBot."
},
"Cadence flip a coin": {
"random": [
"Heads",
"Tails"
]
}
},
"targeted": {
"Cadence introduce yourself to me": {
"format": "I'm CadenceBot. It's nice to meet you.",
"continues": false,
"replyOnly": true
},
"Cadence tell me a joke": {
"random": [
"What's the best thing about Switzerland?\n\nI don't know, but the flag is a big plus.",
"To teach kids about democracy, I let them vote on dinner. They picked pizza. \nThen I made tacos because they don't live in a swing state.",
"What are Christian hookers good at?\nMissionary work.",
"Don't you just hate that situation when you're picking up your bags at the airport and everyone's luggage is better than yours?\nA worst case scenario.",
"Jesus walks into a bar.\nJust twelve waters please! _Winks at disciples_",
"What goes with a Coronavirus? _Lyme_ disease.",
"I invented a new word the other day: Plagiarism!",
"I heard about a guy addicted to buying ladders. He just uses them to get high...",
"A neutron walks into a bar and asks the barman \"How much for a drink?\"\n\nThe barman says, \"For you? No charge.\"",
"Mind if it's vegan? I promise it won't be cheesy.",
"Many years ago, the pope declared that all Jews had to leave Italy. The Jews were obviously upset by this, and they rather loudly protested. The pope declared that, if the Jews could get their wisest rabbi to win in a debate against him, they could stay in Italy.\nThe Jews searched far and wide for their wisest rabbi, and eventually, they found him. The only problem was, the rabbi didn't speak Italian, and the pope didn't speak Hebrew. So they decided to have a silent debate.\nThey sit at the table, and the pope, being the pope, goes first. He holds up three fingers, and the rabbi holds up one. He holds his finger up, and waves it all around his head, and the rabbi points at the ground. He takes out the bread and wine of the Eucharist, and the rabbi takes out an apple. With that, the pope declares that he has been defeated, and that the Jews can stay in Italy.\nShortly afterward, the pope is visiting with his bishops, who have come to see the event, and they say \"We didn't understand any of that! What happened?\", to which he replies, \"Well, first I held up three fingers, to remind him of the Holy Trinity, and he held up one, to remind me that there is only one God. Then, I waved my finger around, to remind him that God is all around us, and he pointed at the ground, to remind me that God is right here with us. Finally, I took out the bread and wine, to remind him of our savior, and he took out an apple, to remind me of the original sin. And I had no way to top that.\"\nMeanwhile, the Jews have asked the same question of their rabbi, to which he says, \"Well, first he said that we had three days to leave, so I gave him the finger. Then, he said all of us had to leave, and I said we were staying right here. Then he took out his lunch, so I took out mine!\"",
"A priest and a nun go golfing. The priest lines up his putt, adjusts his lucky cap, takes a deep breath, and swings! And misses.\n\"Damn!\" he shouts.\nThe nun is scandalized and warns the priest-'Father! Watch your language!' The priest apologizes and decides to move onto the next hole.\nHe lines up his shot, adjusts his lucky cap, takes a deep breath, and...swings! This time the ball falls into a lake. \nHe throws his club down, screaming 'Dammit!'\nThe nun admonishes him, 'Father-you had better watch your language, or the Lord may strike you down!'\nAgain the priest apologizes and decides to move onto the next hole.\nThe priest lines up his shot, he adjusts his lucky cap and focuses intently on the ball. He takes a deep breath. He swings! This time, the ball lands in a sandtrap. \n'DAMMIT DAMMIT DAMMIT!', he screams.\nThe sky darkens as billowy storm clouds rush in. Suddenly, BOOM, a bolt of lightning strikes the green!\nThe nun lies dead as a doornail as the priest gawks to the side.\nA rumbling voice from the heavens:\n\"Dammit!\""
],
"continues": false,
"replyOnly": true
},
"Cadence echo to ": {
"format": "%u, %s",
"continues": true,
"replyOnly": false
},
"Cadence please don't ": {
"format": "You won't be able to tell, but in a moment I won't even try to %s.",
"continues": true,
"replyOnly": true
},
"Cadence please ": {
"format": "You won't be able to tell, but in a moment I'll begin to %s.",
"continues": true,
"replyOnly": true
},
"Cadence introduce yourself to ": {
"format": "Hi %u, I'm CadenceBot.",
"continues": false,
"replyOnly": false
},
"Cadence am I new boot goofin": {
"random": [
"Ahhh! Sorry my brakes were gettin' squirly on me.",
"I've had some boots on layaway here at uh, Zapataria la Bailarina.\nFor Western fashions here in Reno you really can't beat Zapataria la Bailarina.\nWell you can but not at these prices, really.\n Let's do it. It's GO Time!",
"Genuine ostrich. Three payments. OH! Wait -- what. I'm just goofin'. New boot goofin'.",
"https://www.youtube.com/watch?v=xmNfUUFAclw"
],
"continues": false,
"replyOnly": true
},
"Cadence am I ": {
"random": [
"Yes, you absolutely are _%s_.",
"No, you are not _%s_ , my Padawan.\n Now, go bring me a shrubbery!",
"No, you are not _%s_. But on an unrelated note, _%s_ perfectly describes you."
],
"continues": true,
"replyOnly": true
}
},
"multitargeted": {
"Cadence resolve the debate between ": {
"random": [
{
"option": "%u0 is right, %u1 is wrong.",
"weight": 10
},
{
"option": "%u1 is right, %u0 is wrong.",
"weight": 10
},
"%u1 is a moron, %u0 is right.",
"%u1 is right, %u0 is a moron."
],
"totalCount": 2,
"parseFormat": "%u0 and %u1"
},
"Cadence cadence": {
"format": "%a %a",
"totalCount": 0,
"parseFormat": ""
},
"Cadence Cadence": {
"alias": "Cadence cadence"
}
},
"startsWith": {
"Cadence echo ": {
"format": "%s"
},
"Cadence don't say ": {
"random": [
{
"option": "Ok.",
"weight": 5
},
{
"option": "Okay.",
"weight": 5
},
{
"option": "Fine.",
"weight": 4
},
{
"option": "If you insist, just this once.",
"weight": 4
},
"Don't tell me what to do. \" %s\"",
"Fine, I won't say \" %s\" for a while. Starting now..."
]
}
}
},
"API": {
"aria": {
"prefix": "https://cadenceradio.com",
"search": "/api/search",
"request": "/api/request/id",
"library": "NOT IMPLEMENTED BY UPSTREAM",
"nowplaying": "/api/nowplaying/metadata",
"history": "/api/history",
"listenurl": "/api/listenurl",
"albumart": "/api/nowplaying/albumart",
"key": false
},
"stream": {
"automatic": true,
"protocol": "https",
"fallbackPrefix": "stream.cadenceradio.com",
"fallbackStream": "/cadence1"
}
},
"logging": {
"format": "${timestamp} <${title}> ${file}:${line} ${message}",
"dateformat": "yyyy-mm-dd HH:MM:ss Z (\"UTC\"o)",
"level": "info",
"filters": {
"debug": "cyan",
"info": "green",
"notice": "white",
"warning": "yellow",
"error": "red",
"critical": "red",
"alert": "magenta",
"emergency": "cyan"
},
"uppercaseLevel": false
},
"playAutoselectChannels": [
"cadencebot",
"cadence"
],
"stream": {
"bitrate": 96,
"volume": 0.3,
"retryCount": 5
},
"bannedUsers": [],
"padLog": true,
"roundtripDelayMs": 500,
"statusUpdateIntervalMs": 3000,
"maxCachedAlbumArts": 10,
"enableRequestTags": false,
"useGuildTagsForRequests": false,
"allowInsecure": true,
"locale": "en-US",
"enableLogMailing": false,
"logMailCommand": "Cadence maillog",
"administrator": false,
"enableConfigEcho": false,
"configEchoCommand": "Cadence config",
"enableDynamicBans": true,
"defaultDynamicBanMs": 0,
"dynamicBanPrefix": "Cadence ban ",
"dynamicUnbanPrefix": "Cadence unban "
}