Logo Lanfrica

dulagudeta/Feedback-telegram-bot

Domain:

natural language processing

Record type:

software
Creator:
dul
Host:
A simple and anonymous feedback collection bot for Telegram. This bot allows users to provide feedback on services or products in multiple languages (English, Amharic, and Afan Oromo). Feedback is stored in an SQLite database for easy analysis. # Telegram Feedback Bot A simple and anonymous feedback collection bot for Telegram. This bot allows users to provide feedback on services or products in multiple languages (English, Amharic, and Afan Oromo). Feedback is stored in an SQLite database for easy analysis. ## Features - **Multi-language support**: Users can interact with the bot in English, Amharic, or Afan Oromo. - **Anonymous feedback**: Users can provide feedback without revealing their identity. - **Rating system**: Users can rate services/products using predefined options. - **Database storage**: Feedback is stored in an SQLite database for later analysis. --- ## Setup ### Prerequisites - Python 3.8 or higher - A Telegram bot token from BotFather ### Installation 1. Clone the repository: ```bash git clone github.com cd telegram-feedback-bot ``` 2. Install the required dependencies: ```bash pip install -r requirements.txt ``` ### Configuration 1. Create a `.env` file in the project root: ```bash touch .env ``` 2. Add your Telegram bot token to the `.env` file: ``` BOT_TOKEN=your_bot_token_here ``` 3. (Optional) Customize the bot's behavior by modifying the `bot.py` file. ## Usage 1. Run the bot: ```bash python bot.py ``` 2. Open Telegram and search for your bot. 3. Start the bot by sending the `/start` command. 4. Follow the prompts to: - Select your preferred language. - Choose a service/product or write your own. - Rate the service/product. - Provide additional feedback. ### Example Interaction: ``` User: /start Bot: Welcome! Please choose your language: 1. English 2. Amharic 3. Afan Oromo User: 1 Bot: Please select a service/product to rate. ... ``` ## Project Structure ``` telegram-feedback-bot/ │ ├── bot.py # Main bot script ├── requirements.txt # List of dependencies ├── README.md # Project documentation ├── .env # Environment variables (ignored by Git) ├── .gitignore # Fil …