From bdc7b04f722a2481b2daf379c7674d1d732236ab Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Sat, 12 Feb 2022 18:41:47 +0000 Subject: [PATCH] Update 'node/boto.js' --- node/boto.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/node/boto.js b/node/boto.js index 3c3f751..fb5905d 100644 --- a/node/boto.js +++ b/node/boto.js @@ -71,7 +71,12 @@ client.on('message', (channel, tags, message, self) => { // Shoutout if(command === 'so' || command === 'shoutout') { - client.say(channel, `/me Bleep! Bloop! Roll the clip! Smash @${args.join(' ')}'s follow button at: https://twitch.tv/${args.join(' ')}`); + if(${args.join(' ')} === '') { + client.say(channel, `/me Bleep! Bloop! Oops, looks like ${tags.username} for to tag someone!`); + } + else{ + client.say(channel, `/me Bleep! Bloop! Roll the clip! Smash @${args.join(' ')}'s follow button at: https://twitch.tv/${args.join(' ')}`); + } } // CHAT MODE: Emotes