Skip to content

Script to run a bot that shares received messages with random people

License

Notifications You must be signed in to change notification settings

yerzham/telegram-share-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Share Bot

Script to run a bot that shares received messages with random people

Dependencies

Works only with python 3
$ pip3 install python-telegram-bot
$ sudo apt-get install sqlite

Create suitable database

  • $ sqlite3 messages.db
  • Then copy-paste query from saved.sql.
  • Press Enter.
  • sqlite-> .q

Run the scripts

  • python3 bot.py {YOUR BOT TOKEN} - will run the main script for user interaction and data managment
  • python3 db_control.py - will run the script to delete messages received 24h ago



TODO:

  • Voting on a post
  • Image support
  • Audio support

About

Script to run a bot that shares received messages with random people

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages