Class RequireReferencedMessageAttribute
- Namespace
- DSharpPlus.CommandsNext.Attributes
- Assembly
- DSharpPlus.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
-
objectAttributeRequireReferencedMessageAttribute
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.