INNER CODE UNIT · JavaScript

commandNoDb

albertincx/formatbot1 · src/api/utils/index.js:10

function commandNoDb(txt) {
  const found = txt.match(CHECK_REGEX2);

  return found && found[1];
}

function commandCheck(txt) {
  const found = txt.match(CHECK_REGEX);

  return found && found[1];
}

function fetchTimeout(u, connectTimeout = 10000) {
  return fetch(u, {
    dispatcher: new Agent({connectTimeout})
  });
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…