Search Results for

    Show / Hide Table of Contents

    Class SummaryAttribute

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

    Inheritance
    Object
    SummaryAttribute
    Namespace: Discord.Interactions
    Assembly: Discord.Net.Interactions.dll
    Syntax
    public class SummaryAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    SummaryAttribute(String, String)

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

    Declaration
    public SummaryAttribute(string name = null, string description = null)
    Parameters
    Type Name Description
    String name

    Name of the parameter.

    String description

    Description of the parameter.

    Properties

    | Improve this Doc View Source

    Description

    Gets the description of the parameter.

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Name

    Gets the name of the parameter.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.9.0