Table of Contents

Class ApplicationCommandRequireTeamDeveloperAttribute

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

Defines that this application command is restricted to team members of the bot with developer role or higher.

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

Constructors

ApplicationCommandRequireTeamDeveloperAttribute()

Defines that this application command is restricted to team members of the bot with developer role or higher.

Methods

ExecuteChecksAsync(BaseContext)

Runs checks.