Skip to content
Node implementation of BustaBot
JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bot_core
bustabot_commands
.gcloudignore
.gitignore
LICENSE
README.md
app.yaml
bot_info_template.js
deploy.sh
node_bot.code-workspace
package.json

README.md

https://github.com/RicardoBusta/BustaBot

Setup:

Create bot_info.js file with the proper information. Use the template as base. - Key: Provided on Bot Creation. - BotName: The @ of your bot. - Google Project ID: ProjectID on google cloud console.

Get credential json file from https://console.cloud.google.com/apis/credentials and save it as google_key.json on project root.

deploy your bot using gcloud app commands

Set the bot webhook: https://api.telegram.org/bot{my_bot_token}/setWebhook?url=https://{my-service-name}.appspot.com/{my_bot_token}

GCloud Commands

Publish

gcloud app deploy

Logs

gcloud app logs tail -s default

You can’t perform that action at this time.