From 121e7c2c5e75636b494c99badf3fa061d2693159 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Sat, 12 Feb 2022 22:42:52 +0000 Subject: [PATCH] Update 'node/boto.js' --- node/boto.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/boto.js b/node/boto.js index b9dd33b..f44a436 100644 --- a/node/boto.js +++ b/node/boto.js @@ -83,14 +83,14 @@ client.on('message', (channel, tags, message, self) => { // CMD | CHAT COMMANDS | Start if(command === 'rnguser') { // Get a random user but skip the user requesting a random user - getRandomChatter(channel, { skipList: [ userstate.username ] }) + getRandomChatter(channel, { skipList: [ tags.username ] }) .then(user => { if(user === null) { - client.send(channel, `${userstate.username}, there was no one to choose.`); + client.send(channel, `${tags.username}, there was no one to choose.`); } else { let { name, type } = user; - client.send(channel, `${userstate.username}, I chose "${name}" with type ${type}!`); + client.send(channel, `${tags.username}, I chose "${name}" with type ${type}!`); } }) .catch(err => console.log('[ERR]', err));