-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfig.sample.js
More file actions
43 lines (42 loc) · 1.95 KB
/
Copy pathconfig.sample.js
File metadata and controls
43 lines (42 loc) · 1.95 KB
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
module.exports = {
// namespace: use to separate different context executions
namespace: "EDIT",
twitter: {
// add API keys here, see apps.twitter.com
api_keys: {
consumer_key: "EDIT",
consumer_secret: "EDIT",
access_token: "EDIT",
access_token_secret: "EDIT"
},
// jukebox: the user that will accept music requests
jukebox: "EDIT",
// admins: allowed users to send DM commands to control player
admins: ["EDIT"],
// captureStrategy: only streaming supported, will support differnt strategies in the future
capture_strategy: "streaming"
// for development purposes, avoid rate limiting
deactivate_all_statuses_updates: false
},
music: {
// make it true below to tweet when a music starts
now_playing_tweets_enabled: true
},
commands: [
// select for each command if it is enabled and if should reply with a tweet/dm or not
// you can change the reply text inside each command file (see lib/commands dir)
{ name: "search", enabled: true, post_reply_on_success: true, post_reply_on_error: false },
{ name: "link", enabled: true, post_reply_on_success: true, post_reply_on_error: false },
{ name: "play", enabled: true, post_reply_on_success: false, post_reply_on_error: false },
{ name: "pause", enabled: true, post_reply_on_success: false, post_reply_on_error: false },
{ name: "next", enabled: true, post_reply_on_success: false, post_reply_on_error: false },
{ name: "clear", enabled: true, post_reply_on_success: false, post_reply_on_error: false }
],
log_level: "debug",
log_base_path: "./logs",
hardware: {
// don't forget to enable hardware if you installed this on a hardware
lcd: { enabled: false, lib: "libs/raspberrypi/lcd_controller" },
buttons: { enabled: false, lib: "libs/raspberrypi/buttons" }
}
}