.findCommand()

Finds a command based on the guild ID | Function

.findCommand(commandId, guildId)
Parameter
Description
Type

commandId

The command ID

String

guildId?

The guild ID

String | null

Returns

Promise<ApplicationCommand<{}> | undefined>

Last updated