multi-task-widget-cross-pla.../scripts/functions.js
2024-05-03 21:43:02 +08:00

14 lines
352 B
JavaScript

function getResponse(responseName) {
return (
configs.responses[responseName] ??
defaultConfigs.responses[responseName]
);
}
function getCommand(commandName) {
console.log(configs.commands[commandName]);
console.log(defaultConfigs.commands[commandName]);
return (
configs.commands[commandName] ?? defaultConfigs.commands[commandName]
);
}