!roll
will default to 🎲 USERNAME rolled NUMBER 🎲
where USERNAME
will be the username/nickname of the user and NUMBER
is a random number between 1-20.
!roll Hello world, this is a test.
will turn into 🎲 Hello world, this is a test. rolled NUMBER 🎲
. Where NUMBER
is a random number between 1-20.
!commands add !roll $(eval const q = decodeURIComponent(`$(querystring)`); let input = q !== '' ? q : `$(user)`;`🎲 ${input} rolled ${Math.floor(Math.random() * (20 - 1 + 1)) + 1} 🎲`)