Duplicate entitlement event

I don't understand why the event on entitlements returns the information to me twice. I am looking for a solution so that the event is triggered once.
No description
12 Replies
d.js toolkit
d.js toolkit2mo 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!
Lumi
LumiOP2mo ago
No, its not that, all other events are called the same way but only the 3 events concerning entitlements are sent twice
Lumi
LumiOP2mo ago
When I use for example
No description
Lumi
LumiOP2mo ago
No description
No description
Lumi
LumiOP2mo ago
I don't know if this is sensitive data but I can send it if you tell me it isn't.
Lumi
LumiOP2mo ago
No description
Lumi
LumiOP2mo ago
No description
No description
Lumi
LumiOP2mo ago
No description
Lumi
LumiOP2mo ago
No description
Lumi
LumiOP2mo ago
Like that @Qjuh ?
No description
No description
Lumi
LumiOP2mo ago
{ user_id: '1108216541146775602', type: 8, starts_at: null, sku_id: '1304947827910119455', promotion_id: null, id: '1309260243032739932', guild_id: '968585752378224710', gift_code_flags: 0, ends_at: null, deleted: false, consumed: false, application_id: '1108216541146775602' } 0 BEFORE entitlementCreate listenerCount 1 1: Entitlement { id: '1309260243032739932', skuId: '1304947827910119455', userId: '1108216541146775602', guildId: '968585752378224710', applicationId: '1108216541146775602', type: 8, deleted: false, startsTimestamp: NaN, endsTimestamp: NaN, consumed: false } AFTER entitlementCreate listenerCount 1 { user_id: '1108216541146775602', type: 8, starts_at: null, sku_id: '1304947827910119455', promotion_id: null, id: '1309260243032739932', guild_id: '968585752378224710', gift_code_flags: 0, ends_at: null, deleted: false, consumed: false, application_id: '1108216541146775602' } 0 BEFORE entitlementCreate listenerCount 1 1: Entitlement { id: '1309260243032739932', skuId: '1304947827910119455', userId: '1108216541146775602', guildId: '968585752378224710', applicationId: '1108216541146775602', type: 8, deleted: false, startsTimestamp: NaN, endsTimestamp: NaN, consumed: false }
No description
Lumi
LumiOP2mo ago
Still called twice :/ @Qjuh kk thanks
Want results from more Discord servers?
Add your server