!talk & !dare command

Hi, I have seen a stream before where the person had a Nightbot command where people could type !talk and the bot would come back with replies that were unique, and i have looked on every forum I can find, and I cant find out how it is done.

They also had a !dare command that I haven’t figured out and I would like to add to my streams.

If anyone can help me please reply

Well the talk command was most likely and eval with random responses as for the dare command you’ll have to explain further what exactly it did.

The talk command always seemed to understand the context of what people said to it, the dare command just responded with random dares but I wouldn’t know how to implement that or the talk one yet…

Vxrl has written an API that uses Cleverbot to return AI-generated responses.

!addcom -cd=5 !talk $(urlfetch https://vxrl.xyz/api/cleverbot/ask/ai/$(querystring))

Random dares is done with eval as so.

!addcom -cd=5 !dare $(eval a=[`dare1`,`dare2`,`etc`];a[Math.floor(Math.random()*a.length)])
3 Likes

thank you lovely human this is what i was looking for!!!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.