This commit is contained in:
Lamp 2020-10-22 03:48:50 +00:00
parent 0c054dcfa6
commit 658ea8d786
4 changed files with 15 additions and 7 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ node_modules/
test.sh test.sh
.vscode .vscode
tmp tmp
.env

17
package-lock.json generated
View File

@ -213,6 +213,11 @@
} }
} }
}, },
"dotenv": {
"version": "8.2.0",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz",
"integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw=="
},
"end-of-stream": { "end-of-stream": {
"version": "1.4.4", "version": "1.4.4",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
@ -496,9 +501,9 @@
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
}, },
"node-fetch": { "node-fetch": {
"version": "2.6.0", "version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
}, },
"node-rest-client": { "node-rest-client": {
"version": "3.1.0", "version": "3.1.0",
@ -886,9 +891,9 @@
}, },
"dependencies": { "dependencies": {
"bl": { "bl": {
"version": "4.0.2", "version": "4.0.3",
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.2.tgz", "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
"integrity": "sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ==", "integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
"requires": { "requires": {
"buffer": "^5.5.0", "buffer": "^5.5.0",
"inherits": "^2.0.4", "inherits": "^2.0.4",

View File

@ -3,6 +3,7 @@
"@rocket.chat/sdk": "^0.2.9-2", "@rocket.chat/sdk": "^0.2.9-2",
"async-exit-hook": "^2.0.1", "async-exit-hook": "^2.0.1",
"discord.js": "12.1.1", "discord.js": "12.1.1",
"dotenv": "^8.2.0",
"mongodb": "^3.5.5", "mongodb": "^3.5.5",
"pg": "^7.4.0", "pg": "^7.4.0",
"puppeteer": "^3.2.0", "puppeteer": "^3.2.0",

View File

@ -1,3 +1,4 @@
require("dotenv").config();
require('./util'); require('./util');
global.config = require('./config'); global.config = require('./config');
if (config.testmode) console.log('TEST MODE'); if (config.testmode) console.log('TEST MODE');