Update 'node/boto.js'
This commit is contained in:
parent
45e8d74f83
commit
748724793b
|
@ -82,7 +82,7 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
// CMD | CHAT COMMANDS | Start
|
// CMD | CHAT COMMANDS | Start
|
||||||
if(command === 'randomuser') {
|
if(command === 'randomuser') {
|
||||||
// Get a random user but skip the user requesting a random user
|
// Get a random user but skip the user requesting a random user
|
||||||
getRandomChatter(channel, { skipList: [ userstate.username ] })
|
getRandomChatter(channel, { skipList: [ tags.username ] })
|
||||||
.then(user => {
|
.then(user => {
|
||||||
if(user === null) {
|
if(user === null) {
|
||||||
client.send(channel, `${userstate.username}, there was no one to choose.`);
|
client.send(channel, `${userstate.username}, there was no one to choose.`);
|
||||||
|
|
Loading…
Reference in New Issue