From 84125cbedafaec827c343f4d64cfb1fb04e35b90 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Thu, 10 Feb 2022 04:33:36 +0000 Subject: [PATCH] Update 'node/boto.js' --- node/boto.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/node/boto.js b/node/boto.js index d8b0e78..4763dc8 100644 --- a/node/boto.js +++ b/node/boto.js @@ -203,7 +203,6 @@ client.on('message', (channel, tags, message, self) => { client.say(channel, `!kappagen sarimoTRIP sarimoSOUP sarimoTRIP sarimoSOUP sarimoTRIP sarimoSOUP `); client.say(channel, `/me Yo @${tags.username}, how goes it?`); } - // FX | Salt // ---------------------------------- else if(command === 'salt' || command === 'yoho' || command === 'rage' || command === 'rip' || command === 'sassy' || command === 'salty' || command === 'bitter') { @@ -227,7 +226,18 @@ client.on('message', (channel, tags, message, self) => { // client.say(channel, `/me Off in the distance @${tags.username} screams...`); // client.say(channel, `" ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} ${args.join(' ')} " can be heard to all those around!`); //} - + + // Backend + // ---------------------------------- + else if(command === 'ad' || command === 'ads' || command === 'dab30' || command === 'intermission') { + client.say(channel, `Bleep! Bloop! Sub to bypass ads! `); + client.commercial("channel", 30) + .then((data) => { + // data returns [channel, seconds] + }).catch((err) => { + // + }); + }