Closed VegaChastain closed 12 years ago
bot.snag();
Nothing more. The heart will pop out of your head :)
Um... before this is closed... I put the code in my js file, and nothing happens with the /snag command. I tried .snag and snag as well. I'm sorry I don't know more about arguments and functions, but I thought this was a simple copy/paste thing. Still stumped.
Paste the code, please. Remember to edit out the auth code. Use pastebin if you wish, makes reading it easier.
Sorry... crap is long. (sparklebot) As you can see there are various other things giving me trouble... like the stagedive command... ugh. http://pastebin.com/buQ4jWFz
You can't just add the code in there willy nilly!
find this code:
case 'vote':
if (jsonmsg.parameter == 'up') {
bot.vote('up');
} else if (jsonmsg.parameter == 'down') {
bot.vote('down');
}
break;
and beneath it, add:
case 'snag':
bot.snag();
break;
Sorry... I take 'nothing more' very literally! lol I am not worthy. VC
I have tried a lot of fooling around with this... but still not functional... http://pastebin.com/0bAWQDVD
Anything more than that is specific to the way sparklebot is coded. I suggest opening an issue there.
ahhhhhh okey dokey. thanks :)
I know it is possible, I am just not familiar with how to make the bot produce the 'heart' from it's cute little head when i tell her to swipe a song. How do I modify the snag ( [ callback:fn ] ) to make my bot heart-burp on the /snag command? Thanks so much... I am learning! Vega