Table of Contents

Class RequireOwnerAttribute

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

Defines that usage of this command is restricted to the owner(s) of the bot.

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

Methods

ExecuteCheckAsync(CommandContext, bool)

Executes the a check.