Table of Contents

Class SubSlashCommandAttribute

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

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

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true)]
public class SubSlashCommandAttribute : Attribute
Inheritance
SubSlashCommandAttribute
Inherited Members

Constructors

SubSlashCommandAttribute(string, string)

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

public SubSlashCommandAttribute(string name, string description)

Parameters

name string
Name of the sub slash command (1-32 characters).
description string
Description of the sub slash command (1-100 characters).

Properties

Description

Description of the sub slash command (1-100 characters).

public string Description { get; }

Property Value

string

Name

Name of the sub slash command (1-32 characters).

public string Name { get; }

Property Value

string