Table of Contents

Class RequireCommunityAttribute

Namespace
DisCatSharp.CommandsNext.Attributes
Assembly
DisCatSharp.CommandsNext.dll

Defines that a command is only usable within a community-enabled guild.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, Inherited = false)]
public sealed class RequireCommunityAttribute : CheckBaseAttribute
Inheritance
RequireCommunityAttribute
Inherited Members

Constructors

RequireCommunityAttribute()

Defines that this command is only usable within a community-enabled guild.

Methods

ExecuteCheckAsync(CommandContext, bool)

Executes the a check.