From a3fc575f46b8933d0d7bc40661131e776e66a335 Mon Sep 17 00:00:00 2001 From: Lamp Date: Mon, 1 Jul 2019 17:25:53 -0700 Subject: [PATCH] pr pw in env --- src/config.js | 1 + src/prbridge/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 7578dd3..9d374b9 100644 --- a/src/config.js +++ b/src/config.js @@ -43,5 +43,6 @@ module.exports = { ], "owop_captcha_password": process.env.OWOP_CAPTCHA_PASSWORD, + "pr_password": process.env.PR_PASSWORD } diff --git a/src/prbridge/index.js b/src/prbridge/index.js index c7d10f3..d80a33e 100644 --- a/src/prbridge/index.js +++ b/src/prbridge/index.js @@ -2,7 +2,7 @@ const PRClient = require("./PRClient.js"); let client = new PRClient({// account stuff username: "Discord", - password: "vWmnsEkgAPcU3VR", + password: config.pr_password, roomName: 'lobby' }); global.prClient = client;