UNPKG

@sapphire/framework

Version:

Discord bot framework built for advanced and amazing bots.

20 lines (17 loc) 514 B
'use strict'; var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); // src/lib/utils/application-commands/compute-differences/name.ts function* checkName({ oldName, newName, key = "name" }) { if (oldName !== newName) { yield { key, original: oldName, expected: newName }; } } __name(checkName, "checkName"); exports.checkName = checkName; //# sourceMappingURL=name.cjs.map //# sourceMappingURL=name.cjs.map