Selection - shysolocup/noscord.js GitHub Wiki

creates a new raw select menu
type: AeplSubClass

let selection = new Selection({
    id: "question",
    placeholder: "this is a placeholder",

    min: 1,
    max: 4,

    options: [
        { label: "A", value: "option_a", desc: "choice A" },
        { label: "B", value: "option_b", desc: "choice B" },
        { label: "C", value: "option_c", desc: "choice C" },
        { label: "D", value: "option_d", desc: "choice D" }
    ]
});

Parts

🛈 id
🛈 placeholder
🛈 options
🛈 min
🛈 max


⚠️ **GitHub.com Fallback** ⚠️