Table of Contents

Class UserCommandAttribute

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

User commands are application commands that appear on the context menu (right click or tap) of users. They are a great way to surface quick actions for your app that target users.

public class UserCommandAttribute : ApplicationCommandAttribute
Inheritance
UserCommandAttribute
Inherited Members

Constructors

UserCommandAttribute(string)

User commands are application commands that appear on the context menu (right click or tap) of users. They are a great way to surface quick actions for your app that target users.

public UserCommandAttribute(string name)

Parameters

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