MCPcopy Create free account
hub / github.com/RTByte/rtbyte / check

Method check

src/commands/User/userconf.js:53–57  ·  view source on GitHub ↗
(message, key, { errors, updated })

Source from the content-addressed store, hash-verified

51 }
52
53 check(message, key, { errors, updated }) {
54 if (errors.length) return message.sendMessage(errors[0]);
55 if (!updated.length) return message.sendLocale('COMMAND_CONF_NOCHANGE', [key]);
56 return null;
57 }
58
59};

Callers 3

setMethod · 0.45
removeMethod · 0.45
resetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected