Class RequireReferencedMessageAttribute
- Namespace
- DisCatSharp.CommandsNext.Attributes
- Assembly
- DisCatSharp.CommandsNext.dll
Defines that a command is only usable when sent in reply. Command will appear in help regardless of this attribute.
public sealed class RequireReferencedMessageAttribute : CheckBaseAttribute
- Inheritance
-
RequireReferencedMessageAttribute
- Inherited Members
Constructors
- RequireReferencedMessageAttribute()
Defines that a command is only usable when sent in reply. Command will appear in help regardless of this attribute.
Methods
- ExecuteCheckAsync(CommandContext, bool)
Asynchronously checks whether this command can be executed within given context.