Skip to content

Commit

Permalink
Fix slackbot talking to facebot
Browse files Browse the repository at this point in the history
  • Loading branch information
Weetbix committed Jan 1, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8057af0 commit 7b7d3e6
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/facebot.js
Original file line number Diff line number Diff line change
@@ -336,7 +336,8 @@ Facebot.prototype.respondToUnlinkCommands = function(message)
// command, gets facebot to run the command
Facebot.prototype.dispatchBotCommands = function(message){
if(this.isChatMessage(message) &&
!this.isMessageFromFacebot(message))
!this.isMessageFromFacebot(message) &&
!this.isBotMessage(message))
{
var command = "";
var mention = "<@" + this.user.id + ">";
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "facebot",
"version": "0.0.5",
"version": "0.0.6",
"description": "Facebook messenger integration in slack",
"main": "lib/facebot.js",
"scripts": {

0 comments on commit 7b7d3e6

Please sign in to comment.