yona
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
Guess I will buy a boost and check
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
guildupdate?
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
well, since there is no builtin way for tracking changes in that value
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
is that the best way
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
should i just use a cron or something for checking premium subscription count then
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
i was thinking i could
* detect member boost using by checking for booster messages
* detect subsequent boosts by a member by checking for booster messages
* detect member unboost using guildmemberupdate (because i am only interested in knowing who the user is when it goes from 1->0)
* check when the overall server premium subscription count increases or decreases and put my rep multiplier logic there, and the other checks are just for knowing about multiple boosts made by a user
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
i would expect there to be an event that tells u if some data like that changes
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
oh
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
doesnt need to tell me which member
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
i mean which always triggers
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
thank you, but is there an event triggered when this changes on the server
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
Do you know whether theres an event that triggers for the server when the number of boosts changes? it doesnt need to tell me which user did it
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
rep is like points
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
well, if a user boosts the server, there is an increased multiplier for rep points in the server for every user
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
to detect unboosts and boosts
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
maybe i should open a new thread, since the original q is answered?
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
What about unboosting then? I can only detect when it goes from 1 -> 0 and not n->n-1 then?
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
Yes. Thank you.
22 replies
DIAdiscord.js - Imagine an app
•Created by yona on 3/30/2024 in #djs-questions
guildMember.premiumSinceTimestamp
thanks, so is there a way to detect multiple boosts using guildmemberupdate? or will i need to rely on booster messages
22 replies