Closed CyberSecGuy closed 2 years ago
You could probably add a Discord endpoint which extends HTTPEndpoint similar to what has been done for pushover: https://github.com/gsand/mark2/blob/17cfef3c52c3270ed51aea9e0ec2dc24c8df36f2/mk2/plugins/push.py#L112
I know this is old, but still a good suggestion.
Do you have any suggestions for what you'd like to see added to a discord webhook?
I've started working on something for this. Currently, it's only on a branch of my personal fork of mark2. It's being added as a standalone plugin for the ability of future additions
Here is an example of it reacting to start/stop events and posting to discord:
A pull request has been submitted and should be accepted after it is reviewed 😄 https://github.com/gsand/mark2/pull/133
I guess I can close this now since I already pulled the request. It's there, but maybe not as integrated as I'd like. When I get some time, mark3 (which is a full re-write of mark2) will probably have a proper discord integration with a chat bridge and events and such.
Any way to integrate this with Discord webhooks?