Raku / whateverable

🤖 Different IRC bots that operate on a bunch of prebuilt Rakudo versions
https://gist.github.com/Whateverable
GNU Affero General Public License v3.0
18 stars 14 forks source link

tellable shouldn't gist messages #354

Open AlexDaniel opened 5 years ago

AlexDaniel commented 5 years ago

See IRC log.

The message was too long so it gisted it, but it didn't mention the user so a message like this can go unnoticed. Moreover, even if the message doesn't fit a little bit, it shouldn't gist it. Maybe in cases like this it should split the message in half, or something like that.

AlexDaniel commented 4 years ago

It's much better now but it is still an issue.

\<TreyHarris> You could look at https://github.com/weechat/weechat/blob/d2dda92dafcf346d1a158f308e7f8fbfcc313281/src/plugins/irc/irc-message.c#L983 which is how WeeChat decides whether and how to split messages