X-Git-Url: http://lab.mitty.jp/git/?a=blobdiff_plain;f=Dev%2Ftwitter%2Fdump_timeline.pl;h=95385e44b73ab5beafb40a074d5015b2630faf83;hb=45a20c35b7f63730b2bd6d7253d7b9aa07df68c2;hp=1fa8121771253ab32f38e54d053bf31ed2934bcb;hpb=ee655ecc81f3c02cd73b34e19e0f4fbb51b4efdb;p=lab.git diff --git a/Dev/twitter/dump_timeline.pl b/Dev/twitter/dump_timeline.pl index 1fa8121..95385e4 100755 --- a/Dev/twitter/dump_timeline.pl +++ b/Dev/twitter/dump_timeline.pl @@ -18,7 +18,7 @@ use Encode; my $help = sub { die <user_timeline($param); } - elsif ($method eq 'retweeted_by_me') { + elsif ($method eq 'retweeted_by_me' || $method eq 'r') { $res = $bot->retweeted_by_me($param); } - elsif ($method eq 'mentions') { + elsif ($method eq 'mentions' || $method eq 'm') { $res = $bot->mentions($param); } else {