mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 18:15:41 +00:00
Silence, dotenv, we dont want your ads
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* eslint-env node */
|
||||
|
||||
require("dotenv").config();
|
||||
require("dotenv").config({ quiet: true });
|
||||
const { OPCODES } = require("../../dist/gateway/util/Constants.js");
|
||||
const WebSocket = require("ws");
|
||||
const ENDPOINT = `ws://localhost:3001?v=9&encoding=json`;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
require("dotenv").config();
|
||||
require("dotenv").config({ quiet: true });
|
||||
const fetch = require("node-fetch");
|
||||
const count = Number(process.env.COUNT) || 50;
|
||||
const endpoint = process.env.API || "http://localhost:3001";
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
require("module-alias/register");
|
||||
require("dotenv").config();
|
||||
require("dotenv").config({ quiet: true });
|
||||
const { initDatabase } = require("..");
|
||||
|
||||
(async () => {
|
||||
|
||||
Reference in New Issue
Block a user