Table of Contents

Class ApplicationCommandRequireGuildOwnerAttributeAttribute

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

Defines that this application command is only usable within a guild by its owner.

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

Constructors

ApplicationCommandRequireGuildOwnerAttributeAttribute()

Defines that this command is only usable within a guild by its owner.

Methods

ExecuteChecksAsync(BaseContext)

Runs checks.