@sapphire/framework
Version:
Discord bot framework built for advanced and amazing bots.
14 lines (12 loc) • 312 B
JavaScript
;
//#region src/lib/utils/application-commands/compute-differences/name.ts
function* checkName({ oldName, newName, key = "name" }) {
if (oldName !== newName) yield {
key,
original: oldName,
expected: newName
};
}
//#endregion
exports.checkName = checkName;
//# sourceMappingURL=name.cjs.map