Browse files

Show the URL of the tweet

tadzik++
  • Loading branch information...
1 parent 8af1a2e commit 452b559727028afda5b5e19bd62930bb9fedfda0 @coke committed Aug 29, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/cj.pl
View
3 bin/cj.pl
@@ -62,7 +62,8 @@
return unless @tweets;
my $tweet = @tweets.shift;
- my $msg = "@" ~ $tweet<from_user> ~ " tweeted '" ~ $tweet<text> ~ "'";;
+ my $msg = 'https://twitter.com/' ~ $tweet<from_user> ~ '/status/' ~
+ $tweet<id> ~ ' : ' ~ $tweet<text>;
$bot.sendmsg($msg, $chan);
}
);

0 comments on commit 452b559

Please sign in to comment.