My current command looks like this :
$(eval Math.floor(Math.random() * 10) == 0 ? "text1" : "text2")
but i need to have the RNG number shown to make it feel more like a mini game, rather than a Russian roulette command. So this is a response command to this one :
$(user) text $(eval Math.floor((Math.random() * 20) + 1)) text
so i need to show if the number the other person rolls is higher or lower than 10 in chat, instead of just showing the outcome without the number. :)
And i also wanted to make it so that if you roll lower than 10 to change your role on Discord. (again not sure how to do this part at all)
Like a time-out or mini ban gamble game.