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

    Class RequireGroupModAttribute

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

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

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

    Constructors

    | Improve this Doc View Source

    RequireGroupModAttribute()

    Declaration
    public RequireGroupModAttribute()

    Implements

    ICommandRequirement

    See Also

    RequireGroupOwnerAttribute
    RequireGroupAdminAttribute
    RequireGroupPrivilegeAttribute