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

support discord webhooks #67

Open
intrand opened this issue Jun 21, 2020 · 0 comments
Open

support discord webhooks #67

intrand opened this issue Jun 21, 2020 · 0 comments

Comments

@intrand
Copy link

intrand commented Jun 21, 2020

Would you please consider adding proper support for discord webhooks to fluxcloud?

Although you can configure fluxcloud to use a discord webhook using the /slack emulation trick (eg, https://discordapp.com/api/webhooks/1234567890/abc123efg456/slack) and it works for smaller flux repo changes, fluxcloud will choke sending very large payloads.

Here's the error I get when fluxcloud is sent a giant payload from flux:

Could not post to slack, status: 400 Bad Request
Exporter Slack got an error: Could not post to slack, status: 400

I assume that discord limits webhook payload sizes to a smaller size than slack or something like that. Either way, the /slack endpoint is not a reliable way to receive fluxcloud messages on discord at the moment.

Thanks!

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

No branches or pull requests

1 participant