Response Generator

Hello!

I would like to create a command that upon it being called in chat it responds with a would you rather question from a .txt file that I created. Is that possible?

Thanks!

https://pastebin.com/raw/hSrPUPNf
i keep getting the [Response must be less than 400 characters]

Can anyone help me?

Thanks!

@fullsend_ricky

Copy and paste this into chat. Replace !commandname with the command name you want:

!addcom -cd=5 !commandname $(eval a=`$(urlfetch json https://pastebin.com/raw/hSrPUPNf)`.split(`,`);a[Math.floor(Math.random()*a.length)])
1 Like

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