* feat(alerting): Add group-specific webhook URL for discord
Add group-specific webhook URL for discord alert
Provides support for paging multiple Discords based on the group selector while keeping backward compatibility to the old Discords configuration manifest
integration per team can be specified in the overrides sections in an array form.
ref: #96
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* docs: update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Update README.md
* Update README.md
* Update alerting/provider/discord/discord.go
Co-authored-by: TwiN <twin@linux.com>
* Update README.md
Co-authored-by: TwiN <twin@linux.com>
* test: revert testing name
* Update alerting/provider/discord/discord_test.go
Co-authored-by: TwiN <twin@linux.com>
Co-authored-by: TwiN <twin@linux.com>
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>