8000 GitHub - serotoninmix/words-of-affirmation-bot: A telegram bot connected to Google Sheets API to automate Words of Affirmation (a love language) to your loved ones! DM me if you need more information on how to make this as your own project!
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A telegram bot connected to Google Sheets API to automate Words of Affirmation (a love language) to your loved ones! DM me if you need more information on how to make this as your own project!

Notifications You must be signed in to change notification settings

serotoninmix/words-of-affirmation-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Affirmation Bot

A Telegram bot to send daily affirmations to your partner.

Setup

  1. Clone the repository:

    git clone https://your-repo-url.git
    cd affirmation_bot
  2. Create a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
  3. Install the required packages:

    pip install -r requirements.txt
  4. Set up Google Sheets API:

    • Follow the instructions to enable the Google Sheets API and download the credentials JSON file.
    • Place the credentials JSON file in the credentials/ directory.
  5. Update configuration:

    • Edit src/config.py to add your Telegram bot token and chat ID.
  6. Run the bot:

    python src/scheduler.py

Usage

  • The bot will send affirmations twice a day at 8 AM and 8 PM.
  • It ensures no repetition of affirmations within 30 days and adheres to the scheduling rules.

About

A telegram bot connected to Google Sheets API to automate Words of Affirmation (a love language) to your loved ones! DM me if you need more information on how to make this as your own project!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0