📜  discord.js 随机输出 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:23.393000             🧑  作者: Mango

代码示例1
var options = ["Your options", "Another option!", "This is an option."];
var chosenOption = Math.floor(Math.random() * options.length);
console.log(options[option]);