Table of Contents

Class SubSlashCommandBuilder

Namespace
NetCord.Services.ApplicationCommands
Assembly
NetCord.Services.dll

Sub slash command allowing to create nested slash commands within a slash command.

public class SubSlashCommandBuilder
Inheritance
SubSlashCommandBuilder
Inherited Members

Constructors

SubSlashCommandBuilder(string, string, Delegate)

Sub slash command allowing to create nested slash commands within a slash command.

public SubSlashCommandBuilder(string name, string description, Delegate handler)

Parameters

name string
Name of the sub slash command (1-32 characters).
description string
Description of the sub slash command (1-100 characters).
handler Delegate
Handler that represents the body of the command.

Properties

Description

Description of the command (1-100 characters).

public string Description { get; }

Property Value

string

Handler

Handler that represents the body of the command.

public Delegate Handler { get; }

Property Value

Delegate

Name

Name of the command (1-32 characters).

public string Name { get; }

Property Value

string