Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully Automatic posting to Discord #61

Open
aussig opened this issue Oct 19, 2022 · 2 comments
Open

Fully Automatic posting to Discord #61

aussig opened this issue Oct 19, 2022 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@aussig
Copy link
Owner

aussig commented Oct 19, 2022

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:

  1. It could be throttled client-side, posting e.g. every 5 minutes or so as a background task.
  2. 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.

@aussig aussig added the enhancement New feature or request label Oct 19, 2022
@aussig aussig added this to the 2.2.0 milestone Oct 19, 2022
@aussig aussig self-assigned this Oct 19, 2022
@aussig aussig modified the milestones: 2.2.0, 3.0.0 Dec 14, 2022
@aussig aussig removed their assignment Dec 30, 2022
@aussig aussig modified the milestones: 3.0.0, 3.1.0 Jan 25, 2023
@WilliambWattKin
Copy link

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"..?

@aussig
Copy link
Owner Author

aussig commented Apr 13, 2023

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 aussig changed the title Automatic posting to Discord Fully Automatic posting to Discord Jun 2, 2023
@aussig aussig modified the milestones: 3.1.0, Backlog Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants