mirror of
https://github.com/JonnyBro/JaBa.git
synced 2025-01-06 10:43:02 +05:00
8 lines
371 B
JavaScript
8 lines
371 B
JavaScript
export default function differentCommands(appCommand, localCommand) {
|
|
const appOptions = appCommand.options || [];
|
|
const localOptions = localCommand.options || [];
|
|
const appDescription = appCommand.description || "";
|
|
const localDescription = localCommand.description || "";
|
|
|
|
return localDescription !== appDescription || localOptions.length !== appOptions.length;
|
|
}
|