registerSlashCommand method

void registerSlashCommand(
  1. SlashCommandBuilder slashCommandBuilder
)

Allows to register new SlashCommandBuilder

Implementation

void registerSlashCommand(SlashCommandBuilder slashCommandBuilder) => this._commandBuilders.add(slashCommandBuilder);