Androz2091 / discord-logs

📝Framework that simplify the usage of advanced Discord logs
240 stars 22 forks source link

Sometimes boosting event is not triggered #139

Open DreamBoy65 opened 2 years ago

DreamBoy65 commented 2 years ago

Its a nice package But some times when the server is boosted . Bot is not sending msg to channel.

Androz2091 commented 2 years ago

Yes, I think that this is because the member is boosting twice, right?

DreamBoy65 commented 2 years ago

Yup

On Sun, 1 Aug 2021, 2:30 pm Androz, @.***> wrote:

Yes, I think that this is because the member is boosting twice, right?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Androz2091/discord-logs/issues/139#issuecomment-890479928, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNPD4FSXPT2FNKIVYTSI4TT2UEMVANCNFSM5BHUOFRA .

DreamBoy65 commented 2 years ago

any solution?

BenjammingKirby commented 2 years ago

no it's just not how it works discord doesn't provide any information or any official event for boosts internally this checks for .premiumSince and while you are boosting and then you boost again, it won't update premiumSince this can be used to check for members boosting for the first time but that's all that is, it's not foolproof, there isn't a foolproof solution to getting who boosts i guess guildUpdate would emit per boost but you can't narrow down the booster

Tldr; i think the event should be renamed as it is a bit misleading, it's not an actual event for boosting

DreamBoy65 commented 2 years ago

got it.

OmgImAlexis commented 2 years ago

This can be closed, nothing can be done to fix this as discord doesn't give enough info.