rubyforgood / rubyforgood/casa
Disable embeds on bugsnag discord bot
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 381
- Forks
- 542
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 47
Description
Description
A bot watches for uncaught exceptions for the CASA app and posts details about them to the discord. If the exception can be triggered by visiting a url, the exception is triggered many times and is posted many times in a row on discord. I suspect this is because discord is visiting the URL to look for embed content.
Make a pull request on the repo for the bot to suppress embeds.
See: https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params
Questions? Join Slack!
We highly recommend that you join us in slack #casa channel to ask questions quickly. And discord for office hours (currently Tuesday 5-7pm Pacific), stakeholder news, and upcoming new issues.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked bugsnag-to-discord repository and find where the Discord webhook payload is built. Read Discord's Execute Webhook parameters for the embed-suppression option, then verify that bot posts no longer trigger embeds or repeated URL-based exceptions.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100