{"id":13679050,"url":"https://github.com/Saidalo1/telegram_support_bot","last_synced_at":"2025-04-29T16:30:46.400Z","repository":{"id":85916721,"uuid":"576949645","full_name":"Saidalo1/telegram_support_bot","owner":"Saidalo1","description":"This telegram support bot was created using the aiogram framework. On it you can write questions to owners and answers to users, mute and unmute users so that they cannot write to the bot.","archived":false,"fork":false,"pushed_at":"2023-05-31T14:20:16.000Z","size":14,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-11T21:38:11.155Z","etag":null,"topics":["aiogram","aiogram-bot","aiogram3","python","python-3","python3","support-bot","supportbot","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Saidalo1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"supportbot.service.example","governance":null,"roadmap":null,"authors":null}},"created_at":"2022-12-11T14:11:53.000Z","updated_at":"2024-07-23T14:52:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"9aaae5c3-775d-4fe5-9fe3-1b98f01863f2","html_url":"https://github.com/Saidalo1/telegram_support_bot","commit_stats":null,"previous_names":["saidalo1/telegram_support_bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saidalo1%2Ftelegram_support_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saidalo1%2Ftelegram_support_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saidalo1%2Ftelegram_support_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saidalo1%2Ftelegram_support_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saidalo1","download_url":"https://codeload.github.com/Saidalo1/telegram_support_bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251540048,"owners_count":21605834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aiogram","aiogram-bot","aiogram3","python","python-3","python3","support-bot","supportbot","telegram-bot"],"created_at":"2024-08-02T13:01:01.357Z","updated_at":"2025-04-29T16:30:42.696Z","avatar_url":"https://github.com/Saidalo1.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Support bot for Telegram\n\n\u003ca href=\"https://hub.docker.com/r/groosha/telegram-report-bot\"\u003e\u003cimg src=\"https://img.shields.io/badge/Telegram--Bot-blue\"\u003e\u003c/a\u003e\n\nThis repository contains source code of a small yet rather powerful bot for Telegram, which handles reports from users\nand passes them to admins.\nUses [aiogram](https://github.com/aiogram/aiogram) framework.  \nThe main goal is to build a bot with no external database needed. Thus, it may lack some features, but hey, it's open\nsource!\n\n#### Screenshot\n\n![Left - main group. Right - group for admins only. If you don't see this image, please check GitHub repo](https://imgur.com/aXsJ3g3.png)\n\n#### Features\n\n* `/start` to start bot;\n* Supports can be sent to a dedicated chat;\n* Write message to bot if you are simple user;\n* Write reply message to questions if you are owner;\n* `/mute` to mute users (muted users can't send message to bot);\n* `/unmute` to un mute users;\n\n#### Requirements\n\n* Python 3.9 and above;\n* Tested on Linux, should work on Windows, no platform-specific code is used;\n\n#### Installation\n\n1. Go to [@BotFather](https://t.me/telegram), create a new bot, and get token.\n2. Clone this repository:\n\n   ```\n   git clone https://github.com/Saidalo1/telegram_support_bot.git\n   ```\n   \n3. Open project directory: ```cd telegram_support_bot```\n4. Create ***.env*** file to project directory:\n\n   ```\n      BOT_TOKEN=YOUR_BOT_TOKEN\n      OWNER_ID=OWNER_TELEGRAM_USER_ID\n      DATABASE_USER=DATABASE_USER\n      DATABASE_PASS=DATABASE_USER_PASSWORD\n      DATABASE_HOST=DATABASE_HOST\n      DATABASE_NAME=DATABASE_NAME\n   ```\n\n##### systemd\n\n1. Create a venv (virtual environment): `python3.9 -m venv venv` (or any other Python 3.9+ version);\n2. `source venv/bin/activate \u0026\u0026 pip install -r requirements.txt`;\n3. Rename  `supportbot.service.example` to `supportbot.service` and move it to `/etc/systemd/system`;\n4. Open that file and change values for `WorkingDirectory`, `ExecStart` and `EnvironmentFile` providing the correct\n   path values;\n5. Start your bot and enable its autostart: `sudo systemctl enable supportbot.service --now`;  \n6. Check your bots status and logs: `systemctl status supportbot.service`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSaidalo1%2Ftelegram_support_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSaidalo1%2Ftelegram_support_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSaidalo1%2Ftelegram_support_bot/lists"}