-
Notifications
You must be signed in to change notification settings - Fork 793
Expand file tree
/
Copy pathsettings.js
More file actions
22 lines (18 loc) · 918 Bytes
/
settings.js
File metadata and controls
22 lines (18 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 = {
OWNER_NUMBER: process.env.OWNER_NUMBER === undefined ? '94779062397' : process.env.OWNER_NUMBER, //ADD YOUR NUMBER
SESSION_ID: process.env.SESSION_ID === undefined ? '' : process.env.SESSION_ID, //ADD YOUR SSION ID
GITHUB_USER_NAME: process.env.GITHUB_USER_NAME === undefined ? '' : process.env.GITHUB_USER_NAME, //ADD YOUR GITHUB USERNAME
GITHUB_AUTH_TOKEN: process.env.GITHUB_AUTH_TOKEN === undefined ? '' : process.env.GITHUB_AUTH_TOKEN //ADD YOUR GITHUB AUTH TOKEN WITHOUT gph_ , example - G5OxxdvEbiBPWxm4A0xypQGlyCr4FS267ifz
};
/*
LARA MD BOT DEVELOPED BY SADEESHA
(\ (\,,/) /),,/)
(-•( ) (•_• )
(> ( ' ) ( 💔 )/
U u u U U
*/