Table of Contents

Class SlashCommandBuilder

Namespace
NetCord.Services.ApplicationCommands
Assembly
NetCord.Services.dll
public class SlashCommandBuilder : ISlashCommandBuilder
Inheritance
SlashCommandBuilder
Implements
Inherited Members

Constructors

SlashCommandBuilder()

public SlashCommandBuilder()

Methods

AddSubCommand(string, string, Action<SubSlashCommandBuilder>)

public void AddSubCommand(string name, string description, Action<SubSlashCommandBuilder> builder)

Parameters

name string
description string
builder Action<SubSlashCommandBuilder>

AddSubCommand(string, string, Delegate)

public void AddSubCommand(string name, string description, Delegate handler)

Parameters

name string
description string
handler Delegate