forked from TDD-GANGS/TDD-NEWS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
20 lines (18 loc) · 776 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const fs = require('fs');
if (fs.existsSync('config.env')) require('dotenv').config({ path: './config.env' });
function convertToBool(text, fault = 'true') {
return text === fault ? true : false;
}
module.exports = {
SESSION_ID: process.env.SESSION_ID === undefined ? '3uQmSLRR#Td2zbakKVApLltcOtSbfd9HRdklz43Cza07HwIqyuwU' : process.env.SESSION_ID,
OWNER_NUMBER: '94711453361',
// Put news sender jid below you need to send news
hiru: '120363190669566051@g.us',
lankadeepa: '120363190669566051@g.us',
itn: '120363190669566051@g.us',
bbc: '120363190669566051@g.us',
gossiplankanews: '120363190669566051@g.us',
dasathalankanews: '120363190669566051@g.us',
siyatha: '120363190669566051@g.us',
derana: '120363190669566051@g.us'
};