Skip to content

anaconda1337/telegram-bot-boti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Telegram Bot

  • A simple telegram bot that can send messages to a channel or group

Prerequisites

Installation

  • Create a virtual environment
virtualenv venv
  • Activate the virtual environment
source venv/bin/activate
  • Install dependencies
pip install -r requirements.txt
TELEGRAM_BOT_TOKEN=<your-telegram-bot-token>
  • Run the bot
python main.py

Usage

  • Go to your telegram bot and send a message to it
  • Available commands:
  1. /hello - sends a hello message
  2. /clock - sends the current time
  3. /timer {seconds} - sets a timer for the specified seconds

About

example telegram botka

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages