Packages@robojs/discordjs
findCommandDifferences()
Function: findCommandDifferences()
function findCommandDifferences(
oldCommands,
newCommands,
differenceType,
prefix): string[]Find differences between old and new command sets.
Parameters
| Parameter | Type | Default value |
|---|---|---|
oldCommands | Record<string, CommandEntry> | undefined |
newCommands | Record<string, CommandEntry> | undefined |
differenceType | "added" | "removed" | "changed" | undefined |
prefix | string | '' |
Returns
string[]
