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

Post to webhook when new map is fully published #607

Open
Gocnak opened this issue Feb 28, 2022 · 7 comments
Open

Post to webhook when new map is fully published #607

Gocnak opened this issue Feb 28, 2022 · 7 comments
Assignees
Labels
For: Backend This is something to do for the backend (server folder) of the website. Priority: Medium Something that should be tried to be done in this release, but not as important as High priority. Type: Feature Something completely new

Comments

@Gocnak
Copy link
Member

Gocnak commented Feb 28, 2022

When a new map is fully published (admin approved and clicked green check), we should post to (a) webhook(s) announcing such news. This will allow us to be flexible with our game's announcements on Discord.

@Gocnak Gocnak added the Type: Feature Something completely new label Feb 28, 2022
@hexaflexahexagon
Copy link
Member

idk if these are something that would just be available in our discord server or if people could use them in their own servers, but if they can then it could be cool to consider some sort of separate event for WIP maps being added/updated/something, making it easier for people to get slammed in the face in discord when something needs testing. not sure at all about the mechanics behind webhooks and how cumbersome that may be to add, as people will probably only actually want a few gamemodes or events to get posted in their discord channels. if people were able to select for example:

I want the following map notifications:

  • finished
  • WIP

For the following gamemodes:

  • surf
  • bhop
  • etc

then that'd be sick

@TheNerdMan
Copy link
Member

TheNerdMan commented May 11, 2022 via email

@Gocnak
Copy link
Member Author

Gocnak commented May 11, 2022

If it's going to be in people's servers, it'll be a bot integration for sure. This issue was made with just the official discord in mind. We could even make the official channel we use an announcement channel that people can follow and put in their servers too.

@TheNerdMan
Copy link
Member

Yeah my thought exactly, this feature does allow for more collaborative development (e.g. users would be able to make their own dumb downed MMod bot) but honestly I think this should be put as a super low priority and this should be handled by the discord bot first, then maybe this later down the line

@hexaflexahexagon
Copy link
Member

sounds good to me. we use a webhook ONLY for what's outlined in the above issue ONLY for a channel in our discord server, then live posting of things like wrs/new maps/wip maps in everyone else's server goes to the new JS bot.

@tsa96
Copy link
Member

tsa96 commented Jun 7, 2023

This is really complex, we'll discuss more soon

@tsa96 tsa96 changed the title ✨ Post to webhook when new map is fully published Post to webhook when new map is fully published Jun 7, 2023
@Gocnak Gocnak added Priority: Medium Something that should be tried to be done in this release, but not as important as High priority. For: Backend This is something to do for the backend (server folder) of the website. and removed For: Discord Bot labels Jun 16, 2024
@Gocnak
Copy link
Member Author

Gocnak commented Jun 16, 2024

The backend will have an env var for the webhook to post to. It will be an announcement channel, and can ping a specific role that users can opt into in the server to get notified. Other servers can "follow" the channel to get it in their servers, this will not be in a Discord bot.

@GordiNoki GordiNoki self-assigned this Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For: Backend This is something to do for the backend (server folder) of the website. Priority: Medium Something that should be tried to be done in this release, but not as important as High priority. Type: Feature Something completely new
Projects
Status: Todo
Development

No branches or pull requests

5 participants