Skip to content

Commit

Permalink
Merge pull request clarkio#50 from John-Kryspin/followOnlyMsg
Browse files Browse the repository at this point in the history
send message to chat when follow on mode is turned on or off
  • Loading branch information
michaeljolley authored May 21, 2019
2 parents cba4e09 + 8f3abec commit 9cc22d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/Themer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ export class Themer {
followers.forEach(x => this._followers.push({username: x["from_name"].toLocaleLowerCase()}));
}
this.updateState();
this._followerOnly ? console.log('Follower Only mode has been activated.') : console.log('Follower Only mode has been deactivated.');
const message = this._followerOnly ? 'Follower Only mode has been activated.' :'Follower Only mode has been deactivated.';
console.log(message);
this._chatClient.sendMessage(message);
}
}

Expand Down

0 comments on commit 9cc22d6

Please sign in to comment.