add twitch bot client

This commit is contained in:
Jay 2018-07-16 00:51:18 +08:00
parent 5755b465cb
commit 5d67834adf
3 changed files with 6 additions and 2 deletions

View File

@ -7,7 +7,8 @@
{"file": "20180706-1.sql", "version": 5},
{"file": "20180710-1.sql", "version": 6},
{"file": "20180711-1.sql", "version": 7},
{"file": "20180712-1.sql", "version": 8}
{"file": "20180712-1.sql", "version": 8},
{"file": "20180716-1.sql", "version": 9}
],
"test": []
}

View File

@ -8,7 +8,9 @@ module.exports = {
},
twitch: {
clientid: process.env.TWITCH_CLIENT_ID || '',
subsecret: process.env.TWITCH_SUB_SECRET || ''
subsecret: process.env.TWITCH_SUB_SECRET || '',
chat_host: process.env.TWITCH_CHAT_HOST || '',
bot_oauth: process.env.TWITCH_BOT_OAUTH || ''
},
google: {
apikey: process.env.GOOGLE_API_KEY || ''

View File

@ -26,6 +26,7 @@
"pg": "^7.4.3",
"raw-body": "^2.3.3",
"request": "^2.87.0",
"ws": "^5.2.2",
"xml2js": "^0.4.19"
},
"devDependencies": {