Help with Custom Command

I would like to make a command of yes and no, for example if I put !(the name of the command) the nightbot can answer aleatory between yes or no, can you help me?

Try this:

!addcom !command_name $(eval A=[`Yes`,`No`];A[Math.floor(Math.random()*2)])

It worked, thanks c:

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