Entitlement Update event not received after cancelling subscription
I'm currently testing subscriptions to my bot, and when I create a subscription an ENTITLEMENT_CREATE event is fired, I can see the details of the entitlement, and it is added to discord.js entitlement cache.
However when I cancel the subscription via the "Subscriptions" settings, discord shows the subscription is cancelled, however no ENTITLEMENT_UPDATE event is recieved. According to discord.js the entitlement has no end date, even though discord documentation says there should be an end date set once a subscription is cancelled.
Even if I restart the bot and re-fetch entitlements into cache, the entitlement is still active with no end date.
Using discord.js 14.16.3
1 Reply
- 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!