Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
axcl authored Feb 18, 2021
1 parent 42115e5 commit b6ad573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down Expand Up @@ -31,4 +31,4 @@ const master = function () {

}

master();
master();

0 comments on commit b6ad573

Please sign in to comment.