Table of Contents

Class EntryPointCommandAttribute

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

Entry point command serves as the primary way for users to open an app's Activity from the App Launcher. You can create only a single Entry Point command per app.

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

Constructors

EntryPointCommandAttribute(string, string)

Entry point command serves as the primary way for users to open an app's Activity from the App Launcher. You can create only a single Entry Point command per app.

public EntryPointCommandAttribute(string name, string description)

Parameters

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

Properties

Description

Description of the command (1-100 characters).

public string Description { get; }

Property Value

string