Skip to content

Commit

Permalink
fix(rests): Send whisper as resting character
Browse files Browse the repository at this point in the history
  • Loading branch information
symposion committed Mar 30, 2017
1 parent 539ad08 commit e9f1e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Reporter {
sendCharacter(characterId, text) {
const character = this.roll20.getObj('character', characterId);
const charName = character.get('name').replace(/"/g, '\'');
this.roll20.sendChat('', `/w "${charName}" ${text}`);
this.roll20.sendChat(`character|${characterId}`, `/w "${charName}" ${text}`);
if (!_.isEmpty(character.get('controlledby'))) {
this.roll20.sendChat('', `/w gm ${text}`);
}
Expand Down

0 comments on commit e9f1e79

Please sign in to comment.