From b6ad5730121d3637875ba648a48cff72ae8cb0be Mon Sep 17 00:00:00 2001 From: Ankit Date: Thu, 18 Feb 2021 16:35:17 +0530 Subject: [PATCH] Update index.js --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 203a117..cd6573c 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const { xml } = require('@xmpp/client'); const conArr = []; const master = function () { const con = new connection(); - const id1 = con.init('cbquizbot', 'chitbuzz!123##'); + const id1 = con.init('username', 'password'); id1.on("stanza", async (stanza) => { if (stanza.is('message') && stanza.getChild('body') && stanza.getChild('body').text()) { if (stanza.attrs.type === 'chat') { @@ -31,4 +31,4 @@ const master = function () { } -master(); \ No newline at end of file +master();