Class MessageCommandAttribute
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
Message commands are application commands that appear on the context menu (right click or tap) of messages. They are a great way to surface quick actions for your app that target messages.
public class MessageCommandAttribute : ApplicationCommandAttribute
- Inheritance
-
MessageCommandAttribute
- Inherited Members
Constructors
MessageCommandAttribute(string)
Message commands are application commands that appear on the context menu (right click or tap) of messages. They are a great way to surface quick actions for your app that target messages.
public MessageCommandAttribute(string name)
Parameters
name
stringName of the command (1-32 characters).