Class RequireMemberVerificationGateAttribute
Defines that a command is only usable within a guild which has enabled the member verification gate.
Inheritance
System.Object
System.Attribute
RequireMemberVerificationGateAttribute
Namespace: DisCatSharp.CommandsNext.Attributes
Assembly: DisCatSharp.CommandsNext.dll
Syntax
public sealed class RequireMemberVerificationGateAttribute : CheckBaseAttribute
Constructors
| Improve this Doc View SourceRequireMemberVerificationGateAttribute()
Defines that this command is only usable within guild which has enabled the member verification gate.
Declaration
public RequireMemberVerificationGateAttribute()
Methods
| Improve this Doc View SourceExecuteCheckAsync(CommandContext, Boolean)
Executes the a check.
Declaration
public override Task<bool> ExecuteCheckAsync(CommandContext ctx, bool help)
Parameters
Type | Name | Description |
---|---|---|
CommandContext | ctx | The command context. |
System.Boolean | help | If true, help - returns true. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |