Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js random output

var options = ["Your options", "Another option!", "This is an option."];
var chosenOption = Math.floor(Math.random() * options.length);
console.log(options[option]);
 
PREVIOUS NEXT
Tagged: #random #output
ADD COMMENT
Topic
Name
6+7 =