Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Resolve reply to self!
Browse files Browse the repository at this point in the history
Closes #67
  • Loading branch information
spences10 committed Jun 16, 2017
1 parent fc7f4e0 commit 0d60369
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/reply.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const reply = (event) => {
// get user's twitter handler/screen name
let screenName = event.source.screen_name

if (screenName===config.twitterConfig.username) {
return
}
const response = randomReply()

const res = response.replace('${screenName}', screenName);
Expand Down

0 comments on commit 0d60369

Please sign in to comment.