LogoRobo.js
Packages@robojs/discordjs

findCommandDifferences()

Function: findCommandDifferences()

function findCommandDifferences(
   oldCommands, 
   newCommands, 
   differenceType, 
   prefix): string[]

Find differences between old and new command sets.

Parameters

ParameterTypeDefault value
oldCommandsRecord<string, CommandEntry>undefined
newCommandsRecord<string, CommandEntry>undefined
differenceType"added" | "removed" | "changed"undefined
prefixstring''

Returns

string[]

On this page