Unverified Commit d08dac37 authored by Mikael Mello's avatar Mikael Mello
Browse files

Include call to updateBotData on start script

parent 408c4060
......@@ -8,6 +8,7 @@ const delay = (ms: number) => new Promise((resolve, reject) => setTimeout(resolv
async function start () {
await driver.connect()
await driver.login({ username: botUser.username, password: botUser.password })
await driver.callMethod('updateBotData', { framework: 'Rocket.Chat JS SDK' })
await driver.subscribeToMessages()
await driver.respondToMessages((err, msg, msgOpts) => {
if (err) throw err
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment