SoftUI.formTypes.slider(min, max, step, disabled),
{ optionId: "percentage_ram", optionName: "Max RAM usage", optionDescription: "At which RAM usage should I create an alert?", optionType: SoftUI.formTypes.slider(0, 100, 1, false), getActualSet: ({ guild }) => { return alertRAM[guild.id]; }, setNew: ({ guild, newData }) => { alertRAM[guild.id] = newData; return; }, },
Was this page helpful?