Class RequireGuildAttribute
- Namespace
- DisCatSharp.CommandsNext.Attributes
- Assembly
- DisCatSharp.CommandsNext.dll
Defines that a command is only usable within a guild.
public sealed class RequireGuildAttribute : CheckBaseAttribute
- Inheritance
-
RequireGuildAttribute
- Inherited Members
Constructors
- RequireGuildAttribute()
Defines that this command is only usable within a guild.
Methods
- ExecuteCheckAsync(CommandContext, bool)
Executes the a check.