Search Results for

    Show / Hide Table of Contents

    Class RequireReferencedMessageAttribute

    Defines that a command is only usable when sent in reply. Command will appear in help regardless of this attribute.

    Inheritance
    System.Object
    System.Attribute
    CheckBaseAttribute
    RequireReferencedMessageAttribute
    Namespace: DisCatSharp.CommandsNext.Attributes
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    public sealed class RequireReferencedMessageAttribute : CheckBaseAttribute

    Constructors

    | Improve this Doc View Source

    RequireReferencedMessageAttribute()

    Defines that a command is only usable when sent in reply. Command will appear in help regardless of this attribute.

    Declaration
    public RequireReferencedMessageAttribute()

    Methods

    | Improve this Doc View Source

    ExecuteCheckAsync(CommandContext, Boolean)

    Declaration
    public override Task<bool> ExecuteCheckAsync(CommandContext ctx, bool help)
    Parameters
    Type Name Description
    CommandContext ctx
    System.Boolean help
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>
    Overrides
    CheckBaseAttribute.ExecuteCheckAsync(CommandContext, Boolean)

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems