Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-12 22:36:34 +00:00
parent 45e8d74f83
commit 748724793b
1 changed files with 1 additions and 1 deletions

View File

@ -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(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.`);