Send Anonymous messages and Whisper messages in Telegram app
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
An efficient Telegram-bot for send Anonymous messages and Whisper messages in regular type or special type that can be hide content or send to user' PV
This section should list any major frameworks that you built your project using. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
This is a help for installation.
- Ubuntu 16.04+ (I prefer 16.04)
- You have to installed Python3.6 because Telethon need Python3.6. so follow helps on google for "install Python3.6 on ubuntu"
- Get
API_HASH
&API_ID
at my.telegram.org - Get Bot_Token from @Botfather
- send
/setprivacy
to @Botfather and click on your bot username then click on Disable - send
/setinline
to @Botfather and click on your bot username then send a short message that show on inline queries - send
/setinlinefeedback
to @Botfather and click on your bot username then click on Enabled - Get Channel ID from Telegram with forwarding a message to @userinfobot use this ID for bot logs message
- Get Group(Supergroup type) ID from Telegram with adding @myidbot and send
/getgroupid
in group and take group ID. bot use this ID for Support messages - Clone the repo
git clone https://github.com/ferisystem/WhisperBot.git
- in
config_bot.py
you have to change these values:- Enter your database name
note: is optional. but you must change it for each bot you launch
db = 'name_database'
- Enter your Bot_Token
"botToken": "Bot_Token"
- Enter your numbericID and other admins numbericID
note: don't delete
sudo_users = (777000, telegram_datas['botToken'].split(':')[0], numbericID2, 3, 4, 5, ...) # PUT_YOUR_ADMINS_HERE
777000, telegram_datas['botToken'].split(':')[0]
- Enter your ID again as SUDO(full admin)
"sudo_id": SUDO_ID,
- Enter your channel username and invite-link
"chUsername": "YOUR_CHANNEL_USERNAME", # for force join "chLink": "YOUR_CHANNEL_LINK", # for force join
- Enter your server IP
"ip": "YOUR_SERVER_IP",
- Enter your database name
- Now you have to run this command for first time to take Bot_Token
then enter bot_token here
python3.6 cron_jobs.py
- And then you have to add this command in
crontab -e
on ubuntu terminal* * * * * python3.6 ./WhisperBot/cron_jobs.py
- you should install modules in
docs/modules_python37.py
with this command on WhisperBot folder: - Now you can run your bot with
screen
for keep bot power on or without it on WhisperBot folder: - If you want to power off the bot, you should kill that process after use
screen
command:
python3.7 -m pip install -r docs/modules_python37.py
python3.7 bot_main.py
or
screen -S whisperbot python3.7 bot_main.py
kill whisperbot
- Anti-save for special Whispers
- Delete all Whisper sent before
- Block user from recent list user
- Security-code for userIDs on reply-markups of Anonymous-Messages-Inbox
- Multi-language Support
- Persian
- English
- Detusch
also you can see the open issues for a list of proposed features (and known issues).
Dear programmer, you can help me in this project. how? read this text. Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a pull request
Distributed under the MIT License. See LICENSE
for more information.
Alireza Fereidouni (Feri) - @ferisystem - [email protected]
Project Link: github.com/ferisystem/WhisperBot
Example Bot: @WhisAnoBot