Class RequireWelcomeScreenAttribute
- Namespace
- DisCatSharp.CommandsNext.Attributes
- Assembly
- DisCatSharp.CommandsNext.dll
Defines that a command is only usable within a guild which has enabled the welcome screen.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, Inherited = false)]
public sealed class RequireWelcomeScreenAttribute : CheckBaseAttribute
- Inheritance
-
RequireWelcomeScreenAttribute
- Inherited Members
Constructors
- RequireWelcomeScreenAttribute()
Defines that this command is only usable within a guild which has enabled the welcome screen.
Methods
- ExecuteCheckAsync(CommandContext, bool)
Executes a check.