Class RequireGuildOwnerAttribute
- Namespace
- DisCatSharp.CommandsNext.Attributes
- Assembly
- DisCatSharp.CommandsNext.dll
Defines that usage of this command is restricted to the guild owner.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, Inherited = false)]
public sealed class RequireGuildOwnerAttribute : CheckBaseAttribute
- Inheritance
-
RequireGuildOwnerAttribute
- Inherited Members
Methods
- ExecuteCheckAsync(CommandContext, bool)
Executes the a check.