Skip to content

A bot that can monitor specify user send message to your common group

License

Notifications You must be signed in to change notification settings

KunoiSayami/Following-Special-Friends-Telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Following-Special-Friends-Telegram

A bot that can monitor specify user send message to your common group

Configure

Copy config.toml.default to config.toml, this configure file should store in data folder

[telegram]
# If you don't have api_id and api_hash, obtain them from https://my.telegram.org/apps
api_id = 0
api_hash = ""
# You can create bot from [@Botfather](https://t.me/botfather)
# Please note: You should contact your bot with your owner account use `/start` command at least once
bot_token = ""
# Set as your own telegram user ID
owner = 0
# Optional: User can specify their own server build from https://github.com/tdlib/telegram-bot-api
# api_address = "https://api.telegram.org"

[follow]
# Insert your following user id to this list
list = []
# Optional: Override send message duration (in seconds)
# duration = 60

Build

Just use cargo to build.

cargo build --release

License

Copyright (C) 2020-2023 KunoiSayami

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

A bot that can monitor specify user send message to your common group

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages