-
Notifications
You must be signed in to change notification settings - Fork 17
/
config.js
46 lines (42 loc) · 1.12 KB
/
config.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
'use strict'
require('dotenv').config()
var config = {
// gitter settings for retrieving and sending messages
gitter: {
// gitter token, can be retrieved from https://developer.gitter.im/apps
token: process.env.GITTER_TOKEN,
//array of rooms that the bot should be active in
rooms: [
'TheOdinProject/theodinproject',
'TheOdinProject/Front-End',
'TheOdinProject/Back-End',
'TheOdinProject/Contributing',
'TheOdinProject/Getting-Hired',
'TheOdinProject/ModTeam',
'TheOdinProject/Random',
'TheOdinProject/VIM',
'TheOdinProject/Javascript',
'TheOdinProject/bot-spam-playground',
'TheOdinProject/tech_support',
'codyloyd',
// 'TheOdinProject/secretbotroom'
],
place: 'chat'
},
giphy: {
// giphy api key
apikey: process.env.GIPHY_API_KEY,
// regex to match the giphy command (could be anything)
regex: /^\/giphy/
},
pointsbot: {
token: process.env.POINTSBOT_TOKEN,
},
apiai: {
apikey: process.env.APIAI_TOKEN
},
weatherAPI: {
weatherApiKey: process.env.WEATHER_API_KEY
}
}
module.exports = config