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

    Class RequireBotGroupOwnerAttribute

    Command requirement that checks if the bot has owner permissions.

    Inheritance
    System.Object
    System.Attribute
    CommandRequirementAttribute
    RequireBotGroupPrivilegeAttribute
    RequireBotGroupOwnerAttribute
    Implements
    ICommandRequirement
    Inherited Members
    RequireBotGroupPrivilegeAttribute.Privileges
    RequireBotGroupPrivilegeAttribute.IgnoreInPrivate
    RequireBotGroupPrivilegeAttribute.CheckAsync(ICommandContext, IServiceProvider, 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 RequireBotGroupOwnerAttribute : RequireBotGroupPrivilegeAttribute, ICommandRequirement
    Remarks

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

    Constructors

    | Improve this Doc View Source

    RequireBotGroupOwnerAttribute()

    Declaration
    public RequireBotGroupOwnerAttribute()

    Implements

    ICommandRequirement

    See Also

    RequireBotGroupAdminAttribute
    RequireBotGroupModAttribute
    RequireBotGroupPrivilegeAttribute