[Feature Request]: Slack Token
- Linguagem predominante
- Go
- Estrelas
- 1.2k
- Forks
- 69
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**Is your feature request related to a problem? Please describe.**
One thing that's quite frustrating (about Slack) is that even though you can sort of specify Slack channel names with a webhook URL, sometimes they get ignored. If your webhook comes from a modern Slack app (i.e. via the `incoming-webhook` scope in a Slack app), then the channel is “fixed” at the time the webhook is configured. You cannot override the channel at runtime by sending a channel field in the payload.
I used `AppRise` in `Uptime Kuma` to route notifications which wasn't the best.
**Describe the solution you'd like**
I think a really simple solution would just be to add a `Bot Token` field to the Slack provider, and use the token if it's set, with the channel.
**Describe alternatives you've considered**
AppRise, but it's not supported in Peekaping (yet)?
**Additional context**
N/A
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Procure o código do provedor de notificações do Slack no projeto, provavelmente em um diretório como 'notifications' ou 'providers'. Entenda como as URLs de webhook são atualmente tratadas. Pesquise a API do Slack para enviar mensagens com um token de bot. A alteração envolve adicionar um campo de token, modificar a construção do payload e atualizar a lógica de envio. Teste enviando uma notificação para um canal do Slack.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- go
- Domínio
- api, backend
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100