Nightbot puts in chat a random percent out of 100

Asked Oct 14, 2020·1 reply·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.

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?

1 reply

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