hubot 13.1.0 → 13.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hubot",
3
- "version": "13.1.0",
3
+ "version": "13.1.1",
4
4
  "author": "hubot",
5
5
  "keywords": [
6
6
  "github",
@@ -111,7 +111,7 @@ class Shell extends Adapter {
111
111
  }
112
112
  const userName = process.env.HUBOT_SHELL_USER_NAME || 'Shell'
113
113
  const user = this.robot.brain.userForId(userId, { name: userName, room: 'Shell' })
114
- const message = new TextMessage(user, input, 'messageId')
114
+ const message = new TextMessage(user, input, Date.now())
115
115
  if (!message.text.startsWith(this.robot.name) && !message.text.startsWith(this.robot.alias)) {
116
116
  message.text = `${this.robot.name} ${message.text}`
117
117
  }