SomethingGeneric / Gamerbot

Shitpost bot
Other
0 stars 0 forks source link

completely empty -toot commands only send Enmpty #23

Closed orowith2os closed 1 year ago

orowith2os commented 1 year ago

If one runs -toot with an image, it'll send a Mastodon post with that image and the word "Enmpty".

However, if one just runs -toot, with no arguments, it posts "Enmpty".

It should check for if there are no additions at all, and if none, don't send anything

SomethingGeneric commented 1 year ago

So you'd want to not post if no image and no text.

And post image w/ no caption if just image?

orowith2os commented 1 year ago

bingo