discord-echobot
discord-echobot copied to clipboard
Messages dropping that contain only an attached image
This line is appearing in my terminal output when a message contains no content other than an attached image. I've included screenshots of my config file (the section specific to this source) and the source message for reference. You can see in the log the very next message contained text and redirected normally. Rich embeds with attached images in other sources are working great. It's just when someone directly posts just an image in a message with no accompanying text that it seems to do this.
Thank you so much for this code. It's been a huge life saver for me to consolidate information from various sources and redirect them to individual channels on my own personal server for my own use. Being able to just go one place to get a ton of information is invaluable to me.

Hiya! Thanks for the report! I think you are right, I might have messed this up in the last release. I probably can't get to this until the weekend but I'll try to solve it quickly :)
I think I figured it out. When there's nothing but the image in the message, it doesn't seem to like it. I moved the code for the header and simplified it because I didn't like two messages for every message coming through. So now mine says "From: blahblah" then a new line and the rest of the message. Anyway, when I did that, I noticed the messages with only an image started coming through just fine.
I think I figured it out. When there's nothing but the image in the message, it doesn't seem to like it. I moved the code for the header and simplified it because I didn't like two messages for every message coming through. So now mine says "From: blahblah" then a new line and the rest of the message. Anyway, when I did that, I noticed the messages with only an image started coming through just fine.
Could you share the changes you made here? I just ran into this and was excited to see an issue was already open and would love to see how you solved that. Also very interested in making the relay a single line reply