Skip to content

franzejr/bustabot

 
 

Repository files navigation

https://github.com/RicardoBusta/BustaBot

Node.js CI

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

Together

gcloud app deploy;gcloud app logs tail -s default

Check for compilation errors

tsc -p .

Clean ts build files

tsc --build --clean

About

Node implementation of BustaBot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%