You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
Since this is using robot.hear, when I run the bot locally (even with a different name), it responds to text matches regardless of the preceding name.
robot.hear - callback is called anytime a message's text matches robot.respond - callback is only called for messages that are immediately preceded by the robot's name or alias
Please change
robot.hear
torobot.listen
in these 4 instances: https://github.com/postlight/hubot-spotify-playlist/blob/master/src/spotify-playlist.coffee#L124-L133.Since this is using
robot.hear
, when I run the bot locally (even with a different name), it responds to text matches regardless of the preceding name.robot.hear
- callback is called anytime a message's text matchesrobot.respond
- callback is only called for messages that are immediately preceded by the robot's name or aliasHear vs. listen: https://github.com/github/hubot/blob/master/docs/scripting.md#hearing-and-responding
I tried to submit a PR for this myself but was denied due to permissions.
The text was updated successfully, but these errors were encountered: