Code Monkey home page Code Monkey logo

feedback-bot's Introduction

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_CHANNEL : Create a Telegram channel and enter the username

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 /captcha
● Learn projects

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_CHANEL: $FEEDBACK_CHANNEL

Broadcast to user feedback

This feature is still testing on beta version. still developing. It will be available here soon on next updates.

"Admin message\n\nThanks for your feedback."

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.

Deploying methods

I have added two methods to host this bot. for that you can use either Heroku or Okteto. I recommend you to use Heroku because this bot had been faced issues when deploying to Okteto. but you can deploy it as your choice,

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

Deployment Methods

Heroku

Deploy

Okteto

Develop on Okteto


What's new in this v0.8.0

● Added CAPTCHA /captcha
● Added facility to rate bots
● Added log channel (admin only)
● Instant view supports
● Added ForceReply
● Feedback improvements
● Stickers have been restricted
● 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,
So 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.