Skip to content

Commit

Permalink
fix: #1750 emit scripts have loaded event when the scripts have been …
Browse files Browse the repository at this point in the history
…loaded
  • Loading branch information
joeyguerra committed Jan 14, 2025
1 parent 9c2ca31 commit e1e6e90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/Hubot.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ async function loadExternalScripts () {
await robot.receive(new Hubot.TextMessage(new Hubot.User('shell', { room: '#shell' }), `@${robot.name} ${options.execute.trim()}`))
robot.shutdown()
}
robot.emit('scripts have loaded', robot)
})
await robot.run()
})()

0 comments on commit e1e6e90

Please sign in to comment.