From 441ec7fe1b0e211a3f747febdffcc996f50c12c3 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 26 Nov 2009 01:18:25 -0600 Subject: a bit more debugging output --- lib/Crawl/Bot.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Crawl/Bot.pm b/lib/Crawl/Bot.pm index 75e8a0d..0ca557d 100644 --- a/lib/Crawl/Bot.pm +++ b/lib/Crawl/Bot.pm @@ -119,4 +119,10 @@ sub tick { return $self->update_time; } +before say => sub { + my $self = shift; + my %params = @_; + warn "sending '$params{body}' to $params{channel}"; +}; + 1; -- cgit v1.2.3-54-g00ecf