Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class RequireGroupOwnerAttribute

    Command requirement that checks if the user has owner permissions.

    Inheritance
    System.Object
    System.Attribute
    CommandRequirementAttribute
    RequireGroupPrivilegeAttribute
    RequireGroupOwnerAttribute
    Implements
    ICommandRequirement
    Inherited Members
    RequireGroupPrivilegeAttribute.Privileges
    RequireGroupPrivilegeAttribute.IgnoreInPrivate
    RequireGroupPrivilegeAttribute.CheckAsync(ICommandContext, IServiceProvider, CancellationToken)
    RequireGroupPrivilegeAttribute.CheckPrivilegeAsync(ICommandContext, UInt32, WolfGroupCapabilities, CancellationToken)
    CommandRequirementAttribute.ErrorMessage
    CommandRequirementAttribute.AbortOnFail
    CommandRequirementAttribute.SendMessageWhenSkipping
    CommandRequirementAttribute.SuccessResult
    CommandRequirementAttribute.FailureResult
    CommandRequirementAttribute.ResultFromBoolean(Boolean)
    Namespace: TehGM.Wolfringo.Commands
    Assembly: Wolfringo.Commands.dll
    Syntax
    public class RequireGroupOwnerAttribute : RequireGroupPrivilegeAttribute, ICommandRequirement
    Remarks

    Default ErrorMessage for this requirement is "(n) You need to be at least an owner to execute this command.".

    Constructors

    | Improve this Doc View Source

    RequireGroupOwnerAttribute()

    Declaration
    public RequireGroupOwnerAttribute()

    Implements

    ICommandRequirement

    See Also

    RequireGroupAdminAttribute
    RequireGroupModAttribute
    RequireGroupPrivilegeAttribute