{"id":13611051,"url":"https://github.com/Dragon-Userbot/Dragon-Userbot","last_synced_at":"2025-04-13T01:34:20.612Z","repository":{"id":39964113,"uuid":"272690859","full_name":"Dragon-Userbot/Dragon-Userbot","owner":"Dragon-Userbot","description":"Userbot for telegram with easiest installation","archived":false,"fork":false,"pushed_at":"2023-09-18T16:53:14.000Z","size":1740,"stargazers_count":292,"open_issues_count":0,"forks_count":132,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-08-01T19:56:26.864Z","etag":null,"topics":["bot","dragon-userbot","music-player-bot","pyrogram","pytgcalls","python","python3","self-bot-telegram","telegram","telegram-api","telegram-bot","telegram-userbot","telegram-voice-chat","userbot","userbot-telegram","voice-chat","voice-chats"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dragon-Userbot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-16T11:34:20.000Z","updated_at":"2024-08-01T15:51:02.000Z","dependencies_parsed_at":"2024-08-01T19:44:51.016Z","dependency_job_id":"d6788345-69f0-4ab9-bef7-768a0c60f557","html_url":"https://github.com/Dragon-Userbot/Dragon-Userbot","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dragon-Userbot%2FDragon-Userbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dragon-Userbot%2FDragon-Userbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dragon-Userbot%2FDragon-Userbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dragon-Userbot%2FDragon-Userbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dragon-Userbot","download_url":"https://codeload.github.com/Dragon-Userbot/Dragon-Userbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223558498,"owners_count":17165140,"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":["bot","dragon-userbot","music-player-bot","pyrogram","pytgcalls","python","python3","self-bot-telegram","telegram","telegram-api","telegram-bot","telegram-userbot","telegram-voice-chat","userbot","userbot-telegram","voice-chat","voice-chats"],"created_at":"2024-08-01T19:01:51.270Z","updated_at":"2024-11-07T17:31:15.235Z","avatar_url":"https://github.com/Dragon-Userbot.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\r\n        \u003cimg src=\"https://telegra.ph/file/97ba4adfdf5ac59a213d9.png\" width=\"500\" alt=\"Dragon-Userbot\"\u003e\r\n    \u003c/a\u003e\r\n    \u003cbr\u003e\r\n    \u003cb\u003eDragon-Userbot\u003c/b\u003e\r\n    \u003cbr\u003e\r\n    \u003cb\u003eTelegram userbot with the easiest installation\u003c/b\u003e\r\n    \u003cbr\u003e\r\n    \u003ca href='https://github.com/Dragon-Userbot/Dragon-Userbot#installation'\u003e\r\n        Installation\r\n    \u003c/a\u003e\r\n    •\r\n    \u003ca href=\"https://github.com/Dragon-Userbot/Dragon-Userbot/releases\"\u003e\r\n        Releases\r\n    \u003c/a\u003e\r\n    •\r\n    \u003ca href=\"https://github.com/Dragon-Userbot/Dragon-Userbot#groups-and-support\"\u003e\r\n        Community\r\n    \u003c/a\u003e\r\n    •\r\n    \u003ca href='https://github.com/Dragon-Userbot/Dragon-Userbot#custom-modules'\u003e\r\n        Custom modules\r\n    \u003c/a\u003e\r\n    \u003cbr\u003e\r\n    \u003cimg src=\"https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge\" alt=\"Code style\"\u003e\r\n    \u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/Dragon-Userbot/Dragon-Userbot?style=for-the-badge\"\u003e\r\n    \u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/Dragon-Userbot/Dragon-Userbot?style=for-the-badge\"\u003e\r\n\u003c/p\u003e\r\n\r\n\r\n\r\n\r\n\u003ch1\u003eAbout\u003c/h1\u003e\r\n\u003cp\u003eDragon-Userbot is a Telegram userbot (in case you didn't know, selfbot/userbot are used to automate user accounts).\r\nSo how does it work? It works in a very simple way, using the pyrogram library, a python script connects to your account (creating a new session) and catches your commands.\r\n\r\nUsing selfbot/userbot is against Telegram's Terms of Service, and you may get banned for using it if you're not careful.\r\n\r\nThe developers are not responsible for any consequences you may encounter when using Dragon-Userbot. We are also not\r\nresponsible for any damage to chat rooms caused by using this userbot.\u003c/p\u003e\r\n\r\n\r\n\r\n\u003ch1\u003eInstallation\u003c/h1\u003e\r\n\u003ch2\u003elavHost\u003c/h2\u003e\r\n\r\n\u003ca href=\"https://t.me/lavhostbot?start=RHJhZ29u\"\u003e\u003cimg src=\"https://f.lavhost.ml/images/install_to_lavhost.png\"\u003e\u003c/a\u003e\r\n\r\n\r\n\u003ch2\u003eLinux, Termux (use \u003ca href='https://f-droid.org/en/packages/com.termux/'\u003ef-droid\u003c/a\u003e version) and Windows [only wsl]\u003c/h2\u003e\r\n\r\n\u003cpre\u003e\u003ccode\u003eapt-get upgrade -y \u0026\u0026 apt-get update \u0026\u0026 apt install git \u0026\u0026 git clone https://github.com/Dragon-Userbot/Dragon-Userbot.git \u0026\u0026 cd Dragon-Userbot/ \u0026\u0026 bash install.sh\r\n\u003c/code\u003e\u003c/pre\u003e\r\n\r\n\u003ch2\u003emacOS [\u003ca href='https://brew.sh'\u003ebrew\u003c/a\u003e]\u003c/h2\u003e\r\n\u003cpre\u003e\u003ccode\u003ebrew install git \u0026\u0026 git clone https://github.com/Dragon-Userbot/Dragon-Userbot.git \u0026\u0026 cd Dragon-Userbot \u0026\u0026 brew install python@3.8 \u0026\u0026 pip3 install --upgrade pip \u0026\u0026 pip3 install wheel \u0026\u0026 brew install ffmpeg \u0026\u0026 pip3 install -r requirements.txt \u0026\u0026 pip3 install -U 'pytgcalls[pyrogram]' \u0026\u0026 echo Enter your db_url: \u0026\u0026 read uservar \u0026\u0026 python3 install.py $uservar\r\n\u003c/code\u003e\u003c/pre\u003e\r\n\r\n\u003cp\u003eNext enter mongo_db_url (\u003ca href='https://telegra.ph/How-to-get-Mongodb-URL-and-login-in-telegram-08-01'\u003eHow to get Mongodb_URL and login in telegram\u003c/a\u003e)\u003c/p\u003e\r\n\r\n\u003cpre\u003e\u003ccode\u003e.help\u003c/code\u003e (in telegram chat)\u003c/pre\u003e\r\n\r\nSubsequent launch:\r\n\r\n\u003cpre\u003e\u003ccode\u003ecd Dragon-Userbot/\u003c/code\u003e\u003c/pre\u003e\r\n\r\n\u003cpre\u003e\u003ccode\u003epython3 main.py\u003c/code\u003e\u003c/pre\u003e\r\n\r\n\r\n\u003ch1\u003eCustom modules\u003c/h1\u003e\r\n\r\n\r\n\u003cp\u003eTo add your module to the bot, create a pull request in the \u003ca href='https://github.com/Dragon-Userbot/custom_modules/'\u003ecustom_modules\u003c/a\u003e repository\u003c/p\u003e\r\n\r\n```python3\r\nfrom pyrogram import Client, filters\r\nfrom pyrogram.types import Message\r\n\r\nfrom utils.misc import modules_help, prefix\r\n\r\n\r\n# if your module has packages from PyPi\r\n\r\n# from utils.scripts import import_library\r\n# example_1 = import_library(\"example_1\")\r\n# example_2 = import_library(\"example_2\")\r\n\r\n# import_library() will automatically install required library\r\n# if it isn't installed\r\n\r\n\r\n@Client.on_message(filters.command(\"example_edit\", prefix) \u0026 filters.me)\r\nasync def example_edit(client: Client, message: Message):\r\n    await message.edit(\"\u003ccode\u003eThis is an example module\u003c/code\u003e\")\r\n\r\n\r\n@Client.on_message(filters.command(\"example_send\", prefix) \u0026 filters.me)\r\nasync def example_send(client: Client, message: Message):\r\n    await client.send_message(message.chat.id, \"\u003cb\u003eThis is an example module\u003c/b\u003e\")\r\n\r\n\r\n# This adds instructions for your module\r\nmodules_help[\"example\"] = {\r\n    \"example_send\": \"example send\",\r\n    \"example_edit\": \"example edit\",\r\n}\r\n\r\n# modules_help[\"example\"] = { \"example_send [text]\": \"example send\" }\r\n#                  |            |              |        |\r\n#                  |            |              |        └─ command description\r\n#           module_name         command_name   └─ optional command arguments\r\n#        (only snake_case)   (only snake_case too)\r\n```\r\n\r\n\u003ch2\u003eGroups and support\u003c/h2\u003e\r\n\u003cp\u003e\u003ca href='https://t.me/Dragon_Userb0t'\u003eChannel\u003c/a\u003e with latest news on the official telegram [ru/en]\u003c/p\u003e\r\n\r\n\u003cp\u003e\u003ca href='https://t.me/Dragon_Userb0t_modules'\u003eChannel\u003c/a\u003e with custom modules [ru/en] \u003c/p\u003e\r\n\r\n\u003cp\u003e\u003ca href='https://t.me/Dragon_Userb0t_chat'\u003eDiscussion\u003c/a\u003e in the official telegram chat [ru]\u003c/p\u003e\r\n\r\n\u003cp\u003e\u003ca href='https://t.me/Dragon_Userbot_ch0t_en'\u003eDiscussion\u003c/a\u003e in the official telegram chat [en]\u003c/p\u003e\r\n\r\n\u003ch2\u003eCredits\u003c/h2\u003e\r\n\u003cnav\u003e\r\n\u003cli\u003e\u003ca href='https://github.com/Taijefx34'\u003eTaijefx34\u003c/a\u003e\u003c/li\u003e\r\n\u003cli\u003e\u003ca href='https://github.com/LaciaMemeFrame'\u003eLaciaMemeFrame\u003c/a\u003e\u003c/li\u003e\r\n\u003cli\u003e\u003ca href=\"https://github.com/KurimuzonAkuma\"\u003eKurimuzonAkuma\u003c/a\u003e\u003c/li\u003e\r\n\u003cli\u003easphy \u003ca href='https://t.me/LKRinternationalrunetcomphinc'\u003etg\u003c/a\u003e and \u003ca href='https://ru.namemc.com/profile/asphyxiamywife.1'\u003enamemc\u003c/a\u003e\u003c/li\u003e\r\n\u003cli\u003e\u003ca href='http://t.me/fuccsoc2'\u003efuccsoc\u003c/a\u003e\u003c/li\u003e\r\n\u003c/nav\u003e\r\n\u003ch4\u003eWritten on \u003ca href='https://github.com/pyrogram/pyrogram'\u003ePyrogram❤️\u003c/a\u003e and \u003ca href='https://github.com/MarshalX/tgcalls/tree/main/pytgcalls'\u003epytgcalls❤️\u003c/a\u003e\u003c/h4\u003e\r\n","funding_links":[],"categories":["Python","Open Source bots","OpenSource"],"sub_categories":["OpenSource Bots"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDragon-Userbot%2FDragon-Userbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDragon-Userbot%2FDragon-Userbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDragon-Userbot%2FDragon-Userbot/lists"}