Skip to content

emish89/ursusbig_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

617 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ursusbig_bot - the telegram bot

How to start developing

run:

npm i
netlify dev

Starting point

This bot was built using this article.

Token generation

If token is not working run index.js and follow the instructions to generate a new token. node . to run the file.

The file needed is credentials.json and token.json should be regenerated. The file in the remote env variable is token.json.

Example of credentials.json:

{
  "installed": {
    "client_id": string,
    "project_id": "ursusbig-bot-366419",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_secret": string,
    "redirect_uris": ["http://localhost"]
  }
}

Source

TODO

  • aggiornare excel
  • prendere i dati excel e metterli nel messaggio con video e link
  • creare un foglio con mail - foglio

About

telegram bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors