Permalink
Browse files

Return a response when !setgithubproject is successful.

  • Loading branch information...
1 parent 283c504 commit 3f7cfb7a107250e78556b22e6bea641bb4f9fade @bigpresh committed Oct 7, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/Bot/BasicBot/Pluggable/Module/GitHub.pm
@@ -131,6 +131,12 @@ sub said {
# settings are used
delete $net_github{$+{project}};
+ my $message = "OK, project for $+{channel} set to $+{project}";
+ if ($+{auth}) {
+ $message .= " (using auth details supplied)";
+ }
+ return $message;
+
} elsif ($mess->{body} =~ /^!setgithubproject/i) {
return "Invalid usage. Try '!help github'";
}

0 comments on commit 3f7cfb7

Please sign in to comment.