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.

Coinrailgun,

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

https://www.nightbot.tv/giveaway