Skip to content

bandrandr/fire_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to this bot pt.1 no-docker

1. Create a Tg bot

Use t.me/BotFather

2. Create a google cloud project

Follow this tutorial: https://sysopstechnix.com/insert-data-into-google-sheets-via-oauth-2-0-using-shell-script/ download client_secret_.json and copy to src/client_secret.json

3. Create a spreadsheet

copy this one: https://docs.google.com/spreadsheets/d/1DwihAqU_0W-z4bn5LQRb3IKuw9DMaXEH-RQG-J2QeXg/edit?usp=sharing

4. create a .env file and source it

export BOT_TOKEN=<your bot token>
export SPREADSHEET_ID=<id of your spreadsheet, can be found in the link after /d/ and before slash (/)>

5. Prepare & run

run in cmd

source .env
python3 venv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py

for second run,

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages