From 98eea391a1108a3d042e5c3bae3d2ae34c202d92 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Sat, 12 Feb 2022 22:43:46 +0000 Subject: [PATCH] Update 'node/boto.js' --- node/boto.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/boto.js b/node/boto.js index f44a436..4f770c1 100644 --- a/node/boto.js +++ b/node/boto.js @@ -86,11 +86,11 @@ client.on('message', (channel, tags, message, self) => { getRandomChatter(channel, { skipList: [ tags.username ] }) .then(user => { if(user === null) { - client.send(channel, `${tags.username}, there was no one to choose.`); + client.say(channel, `${tags.username}, there was no one to choose.`); } else { let { name, type } = user; - client.send(channel, `${tags.username}, I chose "${name}" with type ${type}!`); + client.say(channel, `${tags.username}, I chose "${name}" with type ${type}!`); } }) .catch(err => console.log('[ERR]', err));