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

    Class RequireGroupAdminAttribute

    Command requirement that checks if the user has owner or admin permissions.

    Inheritance
    System.Object
    System.Attribute
    CommandRequirementAttribute
    RequireGroupPrivilegeAttribute
    RequireGroupAdminAttribute
    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 RequireGroupAdminAttribute : RequireGroupPrivilegeAttribute, ICommandRequirement
    Remarks

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

    Constructors

    | Improve this Doc View Source

    RequireGroupAdminAttribute()

    Declaration
    public RequireGroupAdminAttribute()

    Implements

    ICommandRequirement

    See Also

    RequireGroupOwnerAttribute
    RequireGroupModAttribute
    RequireGroupPrivilegeAttribute