Check If Entitlement is still valid

Is there an event fired when an Entitlement with Type Application Subscriptions expires? If not, how can I instantiate an EntitlementManager? Didn't figured out how to do it as it is not documented anywhere. Thanks for helping 🙂
3 Replies
d.js toolkit
d.js toolkit•7d ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
duck
duck•7d ago
I don't believe any event fires, but it'd probably be entitlementUpdate if one does beyond that, <Client>.application.entitlements is an EntitlementManager
d.js docs
d.js docs•7d ago
:property: ClientApplication#entitlements @14.15.3 The entitlement manager for this application