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
Properties
Description
Gets the description of the parameter.
public string Description { get; }
Property Value
Name
Gets the name of the parameter.
public string Name { get; }