Nightbot !ppsize com

Asked May 28, 2021·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.

I'm trynna do !ppsize $(user) 's pp is | and here i need a generator from 1-20 but I really don't know how to do it. If you can please type the com for me and explain i would appreciate!

1 reply

Hey @Cosmic Tiger!

All you need is an $(eval) to generate a random number, there's not much to explain, it's just JS functions.

$(eval Math.floor(Math.random()*20)+1;)