Closed LeadcodeDev closed 3 months ago
client.registerCommand()
CommandContract
client.commands.declare(CommandBuilder)
CommandBuilder
client.commands.define(CommandDefinition)
CommandDefinition
CommandDeclarationBuilder
CommandDefinitionBuilder
Steps
client.registerCommand()
should takeCommandContract
client.commands.declare(CommandBuilder)
to createCommandBuilder
client.commands.define(CommandDefinition)
to createCommandDefinition
CommandBuilder
as contractCommandBuilder
toCommandDeclarationBuilder
CommandDefinition
toCommandDefinitionBuilder