Table of Contents

Class SummaryAttribute

Namespace
Discord.Interactions
Assembly
Discord.Net.Interactions.dll

Customize the name and description of an Slash Application Command parameter.

[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class SummaryAttribute : Attribute
Inheritance
SummaryAttribute
Inherited Members

Constructors

SummaryAttribute(string, string)

Modify the default name and description values of a Slash Command parameter.

public SummaryAttribute(string name = null, string description = null)

Parameters

name string

Name of the parameter.

description string

Description of the parameter.

Properties

Description

Gets the description of the parameter.

public string Description { get; }

Property Value

string

Name

Gets the name of the parameter.

public string Name { get; }

Property Value

string