Skip to content

Conversation

@e-todorovski-bm
Copy link
Collaborator

@e-todorovski-bm e-todorovski-bm commented Jan 20, 2026

Decisions:

  • added .env in git ignore because i needed to have custom BLOCK_SIGNUP and WEBHOOKS_BASE_URL values. This is not related with this PR. I hope it doesnt mess with something else
  • Connection to Discord is more complex (for the user) than the webhook, so added more verbose explanation how to use it.

UI:

Screenshot 2026-01-23 at 13 07 41 Screenshot 2026-01-23 at 13 08 06 Screenshot 2026-01-23 at 13 08 23 Screenshot 2026-01-23 at 13 08 34 Screenshot 2026-01-23 at 13 09 11

@shiroyasha
Copy link
Collaborator

/superplane fix-formatting

Copy link
Collaborator

@shiroyasha shiroyasha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/superplane fix-formatting

@shiroyasha
Copy link
Collaborator

aaaa

@shiroyasha
Copy link
Collaborator

/superplane fix-formatting

@shiroyasha
Copy link
Collaborator

@e-todorovski-bm
Copy link
Collaborator Author

@e-todorovski-bm can we use this? https://discord.com/developers/docs/quick-start/overview-of-apps

We can, and most likely we will. The approach that i've started is compatible with the HTTP API. The outgoing webhook (as implemented) allows us to send messages, while the incoming webhooks (part of the Interactions Endpoint, which is part of the HTTP API) allow us to listen to slash commands, on button clicks, etc.

The only thing (that I've found) it doesnt listen to is pure text messages (that do not contain a slash command). I thought this wouldnt be necessary for our case.
To listen to messages we have to setup the Gateway API, which was much trickier to setup (required bigger refactors on our side), which i didnt deem necessary.

If you want i can implement the incoming webhooks within this PR, but they wont be testable without a particular trigger. I propose we make another task (like "[Discord] onSlashCommand") in which we will do both the trigger and expand the Discord App Integration

Signed-off-by: Emil Todorovski <emil.todorovski@brightmarbles.io>
Signed-off-by: Emil Todorovski <emil.todorovski@brightmarbles.io>
Signed-off-by: Emil Todorovski <emil.todorovski@brightmarbles.io>
Signed-off-by: Emil Todorovski <emil.todorovski@brightmarbles.io>
Signed-off-by: Emil Todorovski <emil.todorovski@brightmarbles.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants