diff --git a/node/boto.js b/node/boto.js index d5d1609..d088f04 100644 --- a/node/boto.js +++ b/node/boto.js @@ -82,7 +82,7 @@ client.on('message', (channel, tags, message, self) => { // CMD | CHAT COMMANDS | Start if(command === 'randomuser') { // Get a random user but skip the user requesting a random user - getRandomChatter(chan, { skipList: [ userstate.username ] }) + getRandomChatter(channel, { skipList: [ userstate.username ] }) .then(user => { if(user === null) { client.send(channel, `${userstate.username}, there was no one to choose.`);