NightDev Community Forums

Nightbot puts in chat a random percent out of 100

So, when someone says !bloom in chat I want Nightbot to give a random number in chat 1-100. How can I do that, can someone send me a code to copy and paste?

!addcom !bloom $(eval Math.floor(Math.random()*100+1))%