diff --git a/README.md b/README.md index 221e56e..44b0b38 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ This action automatcially replies to `+1` comments to let the user know that the most helpful way is to either react with an emoji to an existing post or to provide more context. +## How it looks like + +![Example comment](/docs/img/example-comment.png "Plus9k in action") ## Usage diff --git a/docs/img/example-comment.png b/docs/img/example-comment.png new file mode 100644 index 0000000..810e4b7 Binary files /dev/null and b/docs/img/example-comment.png differ diff --git a/lib/plus9k.rb b/lib/plus9k.rb index c8af016..7406841 100644 --- a/lib/plus9k.rb +++ b/lib/plus9k.rb @@ -22,7 +22,7 @@ def run() if content == "+1" handle_plus_one() else - puts "this is a normal comment: #{content}" + puts "This is a regular comment. Doing nothing." end end @@ -49,7 +49,6 @@ def already_replied?(repo, issue) end def reply(repo, issue_id) - puts "Adding message: #{repo}/#{issue_id} with message #{@message}" @client.add_comment(repo, issue_id, @message) end end