Skip to content

Anton293/python-tg-bot-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-tg-bot-report

The bot is designed to forward messages sent to the bot to a specified chat. There are bans in place to protect against spam.

Setup

1. Download and unzip the project.

2. Edit the file /configs/config.py:

CHANNEL_ADMINS_ID = <your-group-or-supergroup-chat_id> # ID of channel admins

3. Start the bot:

TOKEN_TG_BOT_REPORT=<your-token> python3 main.py

Additional for the administrator

  1. /my_id - get your ID
  2. /chat_id - get the group ID for use in CHANNEL_ADMINS_ID
  3. You can also find the group ID as shown in the picture:
image
In this case, the group ID is: -1234567890

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages