Class ApplicationCommandRequireTeamMemberAttribute
- Namespace
- DisCatSharp.ApplicationCommands.Attributes
- Assembly
- DisCatSharp.ApplicationCommands.dll
Defines that this application command is restricted to the team members of the bot.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, Inherited = false)]
public sealed class ApplicationCommandRequireTeamMemberAttribute : ApplicationCommandCheckBaseAttribute
- Inheritance
-
ApplicationCommandRequireTeamMemberAttribute
- Inherited Members
Constructors
- ApplicationCommandRequireTeamMemberAttribute()
Defines that this application command is restricted to the team members of the bot.
Methods
- ExecuteChecksAsync(BaseContext)
Runs checks.