MonitoRSS icon indicating copy to clipboard operation
MonitoRSS copied to clipboard

[BUG] Empty Message

Open BlackYuzia opened this issue 3 years ago • 3 comments

Describe the bug RSS Feed can't be sended with empty message.

To Reproduce Steps to reproduce the behavior:

  1. Replace all content in text block by {subscriptions} tag.
  2. Use Embeds
  3. 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 image image

Branch: public bot

BlackYuzia avatar Mar 15 '21 18:03 BlackYuzia

Apologies for the late reply, but I'm unable to reproduce this issue. Can you provide your rss.backup file/details? I need

  1. The feed URL
  2. Your exact text settings
  3. Your exact embed settings

As they appear within the backup file.

synzen avatar Mar 28 '21 21:03 synzen

Lol, idk what happen, but bot got crazy? :eyes: image 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).

BlackYuzia avatar Mar 31 '21 15:03 BlackYuzia

@synzen fixed?

BlackYuzia avatar Mar 06 '22 19:03 BlackYuzia