How to generate a random number

I’ve seen streamers generate random numbers on nightbot. I was wondering you are able to do it.
Like a command was !roll and produces a result of user rolled a 4.
how are they able to do this? I’m relatively new to nightbot and would love to know how.


Take a look at the following link. You will need to be logged in to the nightbot control panel.