Discord integration sends empty messages
ahmedgomaaa opened this issue · comments
Notify version:
1.0.6
Current Behavior:
when trying to set notify to send messages over discord, it sends empty messages with not content.
this is not problem with the discord webhook as it works just fine if POST request is sent, the messages are sent as normal, but for some reason, notify sends empty message
Expected Behavior:
should send correct messages
Steps To Reproduce:
steps to reproduce the behavior:
- Set provider-config.yaml to the the webhook
discord:
- id: "subs"
discord_channel: "bbh"
discord_username: "Spidey Bott"
discord_format: "{{data}}"
discord_webhook_url: "https://discord.com/api/webhooks/*************(REDACTED_WEBHOOK_URL)"
- run notify, for example, echo 'hi' | notify -pc ./provider-config.yaml
- See that messages are being sent empty
Screenshots:
Can you retry with the main branch instead?
go install -v github.com/projectdiscovery/notify/cmd/notify@main
It seems to be an account-related issue.
Nonetheless, there should be some type of warning or error message. I haven't looked deeply into the tool, but isn't there a -debug flag that prints more information?
Nonetheless, there should be some type of warning or error message. I haven't looked deeply into the tool, but isn't there a -debug flag that prints more information?
You can use verbose
flag to print more info.