Class RequireBoostingAttribute
- Namespace
- DisCatSharp.CommandsNext.Attributes
- Assembly
- DisCatSharp.CommandsNext.dll
Defines that usage of this command is restricted to boosters.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, Inherited = false)]
public sealed class RequireBoostingAttribute : CheckBaseAttribute
- Inheritance
-
RequireBoostingAttribute
- Inherited Members
Constructors
- RequireBoostingAttribute(int)
Initializes a new instance of the RequireBoostingAttribute class.
- RequireBoostingAttribute(ulong, int)
Initializes a new instance of the RequireBoostingAttribute class.
Properties
- GuildId
Gets the required guild.
- Since
Gets the required boost time.
Methods
- ExecuteCheckAsync(CommandContext, bool)
Executes the a check.