filter

abstract fun filter(guild: Guild, path: CommandPath, commandId: String?): Boolean(source)

Returns whether the provided command can be used in the provided guild.

Parameters

guild

The guild the command is going to be registered at

path

The complete path of the command

commandId

The command ID set by @CommandId