Record Class ContextCommandDefinition

java.lang.Object
java.lang.Record
io.github.kaktushose.jdac.definitions.interactions.command.ContextCommandDefinition
Record Components:
classDescription - the ClassDescription of the declaring class of the methodDescription()
methodDescription - the MethodDescription of the method this definition is bound to
permissions - a Collection of permissions for this command
name - the name of the command
commandType - the Command.Type of this command
commandConfig - the CommandDefinition.CommandConfig to use
All Implemented Interfaces:
Definition, Invokable, JDAEntity<CommandData>, CommandDefinition, InteractionDefinition

public record ContextCommandDefinition(ClassDescription classDescription, MethodDescription methodDescription, Collection<String> permissions, String name, Command.Type commandType, CommandDefinition.CommandConfig commandConfig) extends Record implements CommandDefinition
Representation of a context command.