Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit 93b06a6

Browse files
committed
Add confirmation message to /tell responder
Acknowledged, this breaks the Rule of Silence. Our team considered doing so a lesser-evil to messages never being delivered because the sender could not know that Hubot had not seen the command. I'll let the keepers of the repo determine if they agree enough to merge!
1 parent e2b59ba commit 93b06a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scripts/tell.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module.exports = (robot) ->
2626
localstorage[room][username] += tellmessage
2727
else
2828
localstorage[room][username] = tellmessage
29+
msg.send "Ok, I'll tell #{username} you said '#{msg.match[2]}'."
2930
return
3031

3132
# When a user enters, check if someone left them a message

0 commit comments

Comments
 (0)