So turns out I broke Sentry → Discord last week... oops. I have it hooked up to LogDNA to log events and errors, but I, uh, don't actively check it. After I discovered the issue, I spent a little bit of time setting up a dashboard for it that sends a webhook alert to my Discord channel.
The process was actually surprisingly easy. If you go to Settings -> Alerts under your organization, you can create a custom Webhook that looks like this:
My custom payload:
You might want to change the parameters before triggering (on every presence is aggressive - my site doesn't get much traffic), but otherwise just plug a new Discord Webhook URL into the field and go! I made a new view that filters out any non-error log messages and then attached the new alert to it. When executed, it looks like this: