Constructor ApplicationCommandRequireSkuEntitlementAttribute
- Namespace
- DisCatSharp.ApplicationCommands.Attributes
- Assembly
- DisCatSharp.ApplicationCommands.dll
ApplicationCommandRequireSkuEntitlementAttribute(ulong)
Defines that usage of this application command is restricted to users with a specified entitlement.
[RequiresFeature(Features.MonetizedApplication)]
public ApplicationCommandRequireSkuEntitlementAttribute(ulong skuId)
Parameters
skuId
ulongSku id for which an entitlement is required to execute this command.
Remarks
Defines that usage of this command is restricted to users with a specified entitlement.