Skip to content

Commit

Permalink
Return a response when !setgithubproject is successful.
Browse files Browse the repository at this point in the history
  • Loading branch information
bigpresh committed Oct 7, 2011
1 parent 283c504 commit 3f7cfb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Bot/BasicBot/Pluggable/Module/GitHub.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ sub said {
# settings are used # settings are used
delete $net_github{$+{project}}; 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) { } elsif ($mess->{body} =~ /^!setgithubproject/i) {
return "Invalid usage. Try '!help github'"; return "Invalid usage. Try '!help github'";
} }
Expand Down

0 comments on commit 3f7cfb7

Please sign in to comment.