Steam-Chat-Bot / node-steam-chat-bot

Simplified interface for a steam chat bot
MIT License
102 stars 35 forks source link

Trigger: Typo in Wiki and Bug in jsonTrigger.js #132

Open Daerphen opened 7 years ago

Daerphen commented 7 years ago

The Trigger-Type is called jsonTrigger in the Wiki, but it should be called JsonTrigger. At least that is, what you have to use, when configuring the Trigger.

Found a Bug in /lib/triggers/jsonTrigger.js Line 76: Instead of that._sendMessageAfterDelay(result); it should be that._sendMessageAfterDelay(toId, result); Without the change I was not able to use a parser function without getting a TypeError.

kjsmita6 commented 7 years ago

Hello, I will look at this next time I get the chance.