Outgoing Webhook for Gateway Events

Comentarios

8 comentarios

  • Aernir Ridley

    This would be an incredibly helpful piece of functionality for the API. Websockets are resource intensive, comparatively messy to implement, and prone to a variety of problems.

    4
  • Martin

    REALLY want that feature. It would make my life so much easier. No heroku stuff, just my plain ol' LAMP-Stack Server

    3
  • Martin69

    Example Use Case

    My motivating use case is a bot which posts a message when someone joins a voice channel (https://github.com/OliverCardoza/domo/McDVOICE ). This functionality is not possible without using Gateway events and therefore I need to pay for cloud hosting 24/7 to maintain a WebSocket connection.

    Websockets are resource intensive, comparatively messy to implement, and prone to a variety of problems.

    3
  • Inrixia

    +1 I'm currently dealing with trying to avoid rate limits with the restAPI for events, being able to have webhooks would completely remove the need for a polling based approach for many areas of the api when using serverless functions.

    3
  • Jeremy Luzzi

    +1 would like to see events treated like interactions. This is the only thing holding me back from a serverless implementation

    3
  • Luke Shafer

    So disappointed to find this doesn't already exist! I'd very much like to adapt my bot to Vercel or a similar service so I don't have to keep it running on a server all the time. I need to know when the bot is mentioned, as part of its major functionality revolves around that, making a rest API impossible at the moment. We could switch to slash commands, but it would lose a major part of how the bot works.

    2
  • ImAron

    +1.

    I think it's rediculous that this is still not implemented. Any ways to currently circumvent this limitation either feels like having to DDOS discord, or wasting both their and my resource to keep an expensive websocket open. It would be lovely to be able to not only receive gateway events the same way we do interactions, but I would like to be able to inform the discord api, about which events specifically i want to receive, saving both discord and myself to yet again not waste resources. I could build a service that provides these features, but that seems like an incredibly reductive solution, to something that the discord api should just support, for both discords and the developers sake…

    0
  • Nick

    For future Googlers that land here: I've built this as a service until Discord makes it themselves: discordwebhooks.com.  Full support for gateway events.

    0

Iniciar sesión para dejar un comentario.