Open ajvpot opened 1 year ago
Love this. I'm on an extended trip right now so I'm be a bit slow for review. I will be back home and have final review on this within a couple weeks. Everything looks very good though, thank you for the contribution!
Hey @juftin, hope your vacation went well! Please let me know if there's anything I can update on this.
Any updates here? The discord integration would be useful. Happy to pick this up & run, but def don't want to step on any feet!
I haven't spent any time on this, I can take a closer look soon though. In the meantime Discord notifications are supported via the AppRise notification provider
https://juftin.com/camply/command_line_usage/#send-a-notification-using-apprise-compatible-services
This was my first time using Apprise, but it was easier to setup than I thought.
There may be some additional behavior that this PR adds, but I haven't read it in depth at this point.
For future readers, create a webhook on your discord server, copy the URL and set APPRISE_URL with that value (either with camply configure
or export APPRISE_URL={my_discord_webhook}
). You can then run the test-notification
command straight away.
Description
Adds a notification provider for Discord. The user needs to provide a webhook URL similar to Slack.
Has This Been Tested?
Yes
Checklist:
.pre_commit
on all my code The linter returns some errors on code I didn't change in this PR, ignored those.