]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit
twitter plugin: don't update status if message length is > 160 characters, and give...
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 15 Sep 2007 10:10:30 +0000 (10:10 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 15 Sep 2007 10:10:30 +0000 (10:10 +0000)
commitfc6aed71f513c83f0ae6aee74cc8410f0c4af0a9
treee16f6bbe0b766507118371b6e511b68a581b4138
parente3931e43edf5b3c47fc94a1ae8405f1f213190cb
twitter plugin: don't update status if message length is > 160 characters, and give a warning when > 140

Twitter has a hard limit for message lengths at 160, and the recommended maximum length is 140 characters, so enforce the hard limit and warn when the soft limit is passed
data/rbot/plugins/twitter.rb