Skip to content

Multi functional bot that can give & collect feedbacks from users and broadcast replies to them with cool functions such as rating bots, completing captchas & etc...

License

Notifications You must be signed in to change notification settings

sanila2007/feedback-bot

Repository files navigation

Multi functional bot that can give & collect feedbacks from users and broadcast replies to them with cool features such as rating bots, completing captchas & etc...


$$$$$$$$\                        $$\ $$\                           $$\             $$$$$$$\             $$\     
$$  _____|                       $$ |$$ |                          $$ |            $$  __$$\            $$ |    
$$ |    $$$$$$\   $$$$$$\   $$$$$$$ |$$$$$$$\   $$$$$$\   $$$$$$$\ $$ |  $$\       $$ |  $$ | $$$$$$\ $$$$$$\   
$$$$$\ $$  __$$\ $$  __$$\ $$  __$$ |$$  __$$\  \____$$\ $$  _____|$$ | $$  |      $$$$$$$\ |$$  __$$\\_$$  _|  
$$  __|$$$$$$$$ |$$$$$$$$ |$$ /  $$ |$$ |  $$ | $$$$$$$ |$$ /      $$$$$$  /       $$  __$$\ $$ /  $$ | $$ |    
$$ |   $$   ____|$$   ____|$$ |  $$ |$$ |  $$ |$$  __$$ |$$ |      $$  _$$<        $$ |  $$ |$$ |  $$ | $$ |$$\ 
$$ |   \$$$$$$$\ \$$$$$$$\ \$$$$$$$ |$$$$$$$  |\$$$$$$$ |\$$$$$$$\ $$ | \$$\       $$$$$$$  |\$$$$$$  | \$$$$  |
\__|    \_______| \_______| \_______|\_______/  \_______| \_______|\__|  \__|      \_______/  \______/   \____/
                                                                                              

made-with-python
Stars Forks Watchers
License Repository Size Contributors Issues

Config Vars

  1. API_ID : Telegram API_ID, get it from my.telegram.org/apps
  2. API_HASH : Telegram API_HASH, get it from my.telegram.org/apps
  3. BOT_TOKEN : A Valid Telegram Bot Token, get it from @Botfather
  4. LOG_CHANNEL : Create a Telegram channel and enter the username
  5. FEEDBACK_GROUP : Create a Telegram group and enter the username
  6. ADMIN : Username of the admin.

Username that you provide must be correct becasue it needs to broadcast replies to the users.


Learn more about this repository

This is a multi functional telegram bot that can collect feedbacks from users. This bot was created using pyrogram library. features of this bot,
● Give feedbacks
● Collect feedbacks admin(s) only
● Broadcast admin(s) only
● Rate bots
● Captcha
● Learn projects
● Inline Bot list

Collect feedbacks

When a user sent a feedback, it will send to the channels that added on bot.py. There are two channels added in bot.py to get logs and feedbacks in default. You can add or remove those as your need but you MUST put credits for this repository in your README.md. When you are adding or removing those you must edit config.py, bot.py, docker-compose.yml, app.json. else you will generate errors. for those don't tag admin. It should fix by yourself.

version: "3.10"
services:
  worker:
    build: .
    environment:
      API_HASH: $API_HASH
      API_ID: $API_ID
      BOT_TOKEN: $BOT_TOKEN
      LOG_CHANNEL: $LOG_CHANNEL
      FEEDBACK_GROUP: $FEEDBACK_CHANNEL
      ADMIN: $ADMIN

Broadcast to user feedback

You can broadcast replies to the user feedbacks using this feature. For that you need to enter the username of the admin accurately when deploying this bot.

Admin message
-------------
Thank you for your feedbacks.

Captcha

This feature is not for anything but to enjoy. users can enjoy this by completing captcha. You can use /captcha command in this bot to prove yourself that you are a human.

Inline Bot list

Using Inline mode, you can get the all the bot projects of me by using @sanilaassistant_bot in any chat. Very easy to share and get the bot repositories and the bot links.

Deploying methods

There are two ways that you can deploy this bot to cloud. Those are Okteto & Heroku. Heroku is the easiest way to deploy. If you are using Otketo you must create variables EXACTLY. Unless it will generate errors. For those don't tag the developer. You can deploy it as your choice,

● Heroku - Easiest way to deloy
● Okteto - Create variables exactly

Variables for Okteto (Copy & Paste)

API_ID
API_HASH
BOT_TOKEN
LOG_CHANNEL
FEEDBACK_GROUP
ADMIN

Deployment Methods

Heroku

Deploy

Okteto

Develop on Okteto


What's new in this v1.9.0 (Latest version - v1.9.1)

Added features

● Added an option to broadcast replies to the users
● Broadcast replies anonymously
● Added an option to broadcast replies only by the admin in the group. Other members would not be able to reply

Security improvements

● No one can copy feedback from the feedback group
● Getting screenshots are restricted in both group and bot
● Forwarding feedbacks are restricted

Improved features

● Redesigned texts
● Minor bug fixes

Read more...

Warning

● This is under GNU General Public License v3.0.

● You are free to use this code in any of your projects, but you MUST include the following in your README.md (Copy & paste)

## Credits
 
-[feedback-bot] (https://github.com/sanila2007/feedback-bot)

Note:

I don't officially support forks / Clones for this feedback bot,
Therefore don't tag admins for errors of your deploy/code, 
If any errors you should fix it yourself!!

Credits:

Sanila Ranatunga
Pyrogram

Open Source Love svg2