Skip to content

Commit

Permalink
update status url and command
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Apr 9, 2024
1 parent e024de4 commit bcb68a0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion handlers/generic.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Generic {
}

status (target, bot) {
bot.say(target, `${config.externalUrl}/status`)
bot.say(target, `${config.statusUrl}`)
}
}

Expand Down
3 changes: 0 additions & 3 deletions helpers/browserApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ class PuppeteerApi {
async handleStart() {
await this.page.setViewport({ width: 1920, height: 1080 })
await this.page.goto("https://www.twitch.tv/" + config.twitch.channels, { waitUntil: ['networkidle0', 'domcontentloaded'] })
//const fullPage = await this.page.$('body')
//const fullPageSize = await fullPage.boundingBox()
//await this.page.setViewport({ width: 1920, height: parseInt(fullPageSize.height) })
await this.removeElementsAndGetDiv()
}

Expand Down
2 changes: 1 addition & 1 deletion lib/inputParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class InputParser {
}

isAskingForServerStatus (text) {
return text.toLowerCase().startsWith('!status')
return text.toLowerCase().startsWith('!estado')
}
}

Expand Down

0 comments on commit bcb68a0

Please sign in to comment.