Skip to content

replace spatie discord alerts for more control#912

Open
justinkluever wants to merge 10 commits into
masterfrom
justink/refactor-discord-webhooks
Open

replace spatie discord alerts for more control#912
justinkluever wants to merge 10 commits into
masterfrom
justink/refactor-discord-webhooks

Conversation

@justinkluever

Copy link
Copy Markdown
Member

We now have full control over the discord webhooks and have multiple queue priorities for webhooks (e.g. moderation or just default discord webhooks)

we are now also able to easily use components v2 for the webhooks and "hook" into the response of the discord api to get the message id if we want to update (or delete) existing messages later on.

the new abstract job allows us to implement even more types of webhooks later on (e.g. clip notifications for broadcasters)

the queue worker will now work on queues in this order: moderation > default > discord-webhooks

since all discord webhooks are limited the same we have to give our moderation webhooks higher priority to run first, same goes for probably everything else in the same queue later on.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant