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

Method reset

src/commands/Admin/conf.js:51–54  ·  view source on GitHub ↗
(message, [key])

Source from the content-addressed store, hash-verified

49 }
50
51 async reset(message, [key]) {
52 const entry = this.check(message, key, await message.guild.settings.reset(key));
53 return message.sendLocale('COMMAND_CONF_RESET', [key, message.guild.settings.display(message, entry)]);
54 }
55
56 check(message, key, { errors, updated }) {
57 if (errors.length) throw String(errors[0]);

Callers 2

runMethod · 0.45
runMethod · 0.45

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected