Open aussig opened 2 years ago
If even perhaps fully automating the push to discord is not decided for, could maybe set a options check box to one button push to discord by clicking the "Latest BGS Tally" bypassing the discord preview pop up window, acting as if the post to discord button was pressed immediately. Having the box unchecked would allow a "Latest BGS Tally" activation that brings up the pop up, choosing the options offered, sending. Then can go ahead and set the one button push option check box so it just sends to discord right from "Latest BGS Tally"..?
Although a 'one click press' is a neat idea, the checkbox to enable / disable that feature would also have to be on the main EDMC window, so that users can access the preview popup window quickly if they need, without digging around in the plugin configuration page. However, over the last few releases I have been trying to make an effort to simplify the main EDMC window and this would be a bit of a backward step.
So, I still favour leaving the UI as it is, and adding auto-posting on a regular interval instead. I'm thinking 5 minutes should be good for this.
Add an option (default to
OFF
) to automatically post your activity to discord.To avoid being throttled or banned by Discord (the Discord webhook rate limit is 30 msg / minute, which is totalled across all users), this should not be done every time the user does any BGS activity. There are a couple of solutions:
Preference is 1 as this is simpler for both BGST development and also for Discord integration.