Skip to content

Artur-Arstamyan/python-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 

Repository files navigation

python-telegram-bot library
Documentation
Examples

My bots

1. @armenian_robot - Link
Bot uses Anthropic's claude-3-7-sonnet-20250219 model

Use /start command to

  • correct any texts
  • translate any texts into any language

Use /power_cuts command to

  • get information about power cuts
  • subscribe to get messages whenever bot notices power cuts at your address

The bot scrapes data from the Electric Networks of Armenia webpage at a specified interval (12 hours). Using RegEx, the extracted data is converted into a Pandas DataFrame with the following columns: Date, Region, Time, and Addresses. The bot then iterates over each row of the DataFrame and sends a message to subscribers whose address appears in that row's Addresses column. To prevent duplicate notifications, it ensures that each subscriber receives a message only if the Date and Time pair in that row is new to them.

Along with other commands, Bot has a command /geography which gives a lot of information about geography in a very fun way

About

Telegram bots created using python-telegram-bot library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published