summaryrefslogtreecommitdiffstats
path: root/lib/Crawl/Bot.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-11-26 00:34:12 -0600
committerJesse Luehrs <doy@tozt.net>2009-11-26 00:34:12 -0600
commitb2c70c0cba3338f698b66e334e293c14bfd68cf0 (patch)
tree6154a439a6a8b9b8a03e3d43e0b3df19a688e2c2 /lib/Crawl/Bot.pm
parent18e6ef90c84f7d7bc72173fb74853001d773f542 (diff)
downloadcrawlbot-b2c70c0cba3338f698b66e334e293c14bfd68cf0.tar.gz
crawlbot-b2c70c0cba3338f698b66e334e293c14bfd68cf0.zip
send message to right channel
Diffstat (limited to 'lib/Crawl/Bot.pm')
-rw-r--r--lib/Crawl/Bot.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Crawl/Bot.pm b/lib/Crawl/Bot.pm
index 9aca07c..e6a5e15 100644
--- a/lib/Crawl/Bot.pm
+++ b/lib/Crawl/Bot.pm
@@ -90,7 +90,10 @@ sub tick {
(my $id = $link) =~ s/.*=(\d+)$/$1/;
return if $self->has_item($id);
warn "New issue! ($id)";
- $self->say(channel => '#doytest', body => $item->title . ' (' . $item->link . ')');
+ $self->say(
+ channel => '##crawl-dev',
+ body => $item->title . ' (' . $item->link . ')'
+ );
$self->add_item($id);
});
$self->save_cache;