You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
It could be throttled client-side, posting e.g. every 5 minutes or so as a background task.
It could be throttled server-side, by requiring a Discord bot to be installed by the Discord server admin, and BGST would communicate with the bot.
Preference is 1 as this is simpler for both BGST development and also for Discord integration.
The text was updated successfully, but these errors were encountered:
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.
aussig
changed the title
Automatic posting to Discord
Fully Automatic posting to Discord
Jun 2, 2023
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.
The text was updated successfully, but these errors were encountered: