Elite-Kode / bgsbot

A Discord bot to track Elite Dangerous BGS
Apache License 2.0
17 stars 6 forks source link

Feature request: @bgsbot bgsreport settime auto #58

Open Jahfry opened 3 years ago

Jahfry commented 3 years ago

Suggestion: "bgsreport settime auto" to tell the bot to report as soon after the tick as is viable.

Based on a quick Discord exchange I realize you can't report immediately after a tick as data has to finish processing.

I'm not looking for the bot to report at exactly tick time. Just a way to tell it to report as soon as that day's data is done. An hour or 2, or more, delay is fine.

Tick rate seems to be able to swing fairly significantly over time. Looking at the ticks from September 2020 compare to now via https://elitebgs.app/tick it's anywhere from 10am UTC to 21 UTC. I've set my server to 20 UTC just to catch most changes every 24 hours but over a long period I imagine it might tick past 20 UTC again at some point. It would be nice to know the bot will report whenever it feels the current tick data has compiled.

Also not worried about you sending to every subscribed Discord at the same time. Add in staggered transmission so you're not blasting a ton of servers at once. Again, not looking for real time just a way to make sure each report is the next set of data rather than having a possibility of having tick go well past whatever time is set for reporting.

SayakMukhopadhyay commented 3 years ago

Hi @Jahfry , this request has come up before but I this feature is pretty challenging and so I am unwilling to take it up at this point. Maybe sometime in the future I will have enough time to brainstorm this and hence I will keep this issue opened. I hope you understand.