MonitoRSS
MonitoRSS copied to clipboard
[BUG] Empty Message
Describe the bug RSS Feed can't be sended with empty message.
To Reproduce Steps to reproduce the behavior:
- Replace all content in text block by
{subscriptions}
tag. - Use Embeds
- Get message about
can't send empy message
.
Expected behavior
Message should send without any errors. If {subscriptions}
tag is empty, we should replace this tag by {empty}
and/or add invisible symbols (like space (" "
) or etc)
Screenshots
Branch: public bot
Apologies for the late reply, but I'm unable to reproduce this issue. Can you provide your rss.backup
file/details? I need
- The feed URL
- Your exact text settings
- Your exact embed settings
As they appear within the backup file.
Lol, idk what happen, but bot got crazy? :eyes:
Anyway, he success add rss link... so, nvm?
{
"profile": null,
"feeds": [
{
"filters": {},
"rfilters": {},
"title": "eM Client Secured Mail Client With Calendar",
"url": "http://www.emclient.com/feed",
"guild": "716194991575400469",
"channel": "716194991575400472",
"text": "{subscriptions}",
"embeds": [],
"addedAt": "2021-03-31T15:42:31.896Z",
"ncomparisons": [],
"pcomparisons": [],
"regexOps": {},
"_id": "60649867598fde32c212edd8"
}
],
"filteredFormats": [],
"subscribers": []
}
Now, I try again, and get what if embed
is exist, message would send success.
Anyway, if only {subscriptions}
in main message block, I get error like:
Unable to send empty message for feed article https://www.emclient.com/blogpost.aspx?id=428 (60649867598fde32c212edd8).
@synzen fixed?