!talk & !dare command

Asked Feb 22, 2021·4 replies·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

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

4 replies

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)])
Deft Penguin said:
$(urlfetch https://vxrl.xyz/api/cleverbot/ask/ai/$(querystring))

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