Grand HamsterOriginal postNov 6, 2020I 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?
Quirky FoxNov 6, 2020Try this:!addcom !command_name $(eval A=[`Yes`,`No`];A[Math.floor(Math.random()*2)])
Grand HamsterNov 7, 2020Quirky Fox said:!addcom !command_name $(eval A=[Yes,No];A[Math.floor(Math.random()*2)])It worked, thanks c: