-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.js
50 lines (35 loc) · 1.4 KB
/
config.example.js
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
var config = {
// gitter settings for retrieving messages
gitter: {
// gitter token, can be retrieved from https://developer.gitter.im/apps
token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
room: {
// name of the gitter room, you want to retrieve the messages
name: 'bullgit/bombing'
}
},
// twitter settings for tweeting song
twitter: {
// get these values by creating an twitter app on https://apps.twitter.com
api: {
consumer_key: 'xxxxxxxxxxxxxxxxxxxxxxxxx',
consumer_secret: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
access_token_key: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
access_token_secret: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
},
// name of account, from which the bot will tweet
accountname: 'awesomename'
},
// firebase settings for saving the songs to a firebase instance
firebase: {
// url of your firebase instance in form of https://<YOUR FIREBASE>.firebaseio.com
url: 'https://example.firebaseio.com',
// name of the child reference
name: 'test',
// a secret of your firebase instance, available at the secret panel in the dashboard
secret: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
},
// template of the tweet, use ${link} where the link should be placed
template: ({link}) => {return `${link} #awesomehashtag`}
}
module.exports = config;