{"id":21986459,"url":"https://github.com/spechide/pyrogrambot","last_synced_at":"2025-05-15T14:04:18.049Z","repository":{"id":40498367,"uuid":"200447863","full_name":"SpEcHiDe/PyroGramBot","owner":"SpEcHiDe","description":"pluggable Telegram Bot based on Pyrogram","archived":false,"fork":false,"pushed_at":"2025-02-27T16:07:30.000Z","size":415,"stargazers_count":256,"open_issues_count":9,"forks_count":299,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-15T03:54:46.766Z","etag":null,"topics":["bot","download","ffmpeg","gdrive","group","management","mtproto","pluggable","powerful","pyrogram","telegram","upload"],"latest_commit_sha":null,"homepage":"https://telegram.dog/OwneRoBot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpEcHiDe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2019-08-04T04:06:21.000Z","updated_at":"2025-04-11T11:58:43.000Z","dependencies_parsed_at":"2024-10-25T06:28:54.860Z","dependency_job_id":"f8ad39a5-425c-48a1-a8ec-27a34f35463b","html_url":"https://github.com/SpEcHiDe/PyroGramBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpEcHiDe%2FPyroGramBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpEcHiDe%2FPyroGramBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpEcHiDe%2FPyroGramBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpEcHiDe%2FPyroGramBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpEcHiDe","download_url":"https://codeload.github.com/SpEcHiDe/PyroGramBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254355334,"owners_count":22057354,"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","download","ffmpeg","gdrive","group","management","mtproto","pluggable","powerful","pyrogram","telegram","upload"],"created_at":"2024-11-29T18:18:59.644Z","updated_at":"2025-05-15T14:04:18.030Z","avatar_url":"https://github.com/SpEcHiDe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bot 🔥🤖\n\nA Telegram Bot ~~[still WIP, not stable]~~ based on [Pyrogram](https://github.com/pyrogram/pyrogram)\n\n\u003e\u003e This was an attempt to learn bot development using Pyrogram. I had made several mistakes (or, bad design decisions), in the creation of this bot. So, ✌️ please do not judge theis codes.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [COPYING](./COPYING) for more details.\n\n## installing\n\n## ENVironment VARiables\n\n#### Mandatory Environment Variables\n\n* `TG_BOT_TOKEN_BF_HER`: Create a bot using [@BotFather](https://telegram.dog/BotFather), and get the Telegram API token.\n\n* `APP_ID`\n* `API_HASH`: Get these two values from [my.telegram.org/apps](https://my.telegram.org/apps).\n  * N.B.: if Telegram is blocked by your ISP, try our [Telegram bot](https://telegram.dog/UseTGXBot) to get the IDs.\n\n#### Optional Environment Variables\n\n* `ENV`: set this to `ANYTHING` if you want to use ENVIRON mode.\n\n* `COMMAND_HAND_LER`: the default value is `/`, which is the recommended value. Change this only __if__ you know what you are doing.\n\n* `TMP_DOWNLOAD_DIRECTORY`: the path (as a string) to store the temporary files, which are used by some of the plugins.\n\n* `DATABASE_URL`: ~~if you are using Heroku, this value is automatically filled by the Postgres Plugin.~~ if you are not using Heroku, Read the guide on how to Install Database?, in [the Wiki](https://github.com/SpEcHiDe/PyroGramBot/wiki/How-to-Install-Database-%3F). **[**  __to be deprecated__ **]**\n\n* `TELEGRAM_URL`: create a Telegram Channel / Super Group, with you robot as administrator, and add the channel id as an integer in this variable.\n\n* `G_DRIVE_CLIENT_ID`: check [the Telegram Channel](https://t.me/UniBorg/48) for Instructions on Setting up Google Drive.\n\n* `G_DRIVE_CLIENT_SECRET`: check [the Telegram Channel](https://t.me/UniBorg/48) for Instructions on Setting up Google Drive.\n\n* `OWNER_ID`: this is not used currently, and might be used in the future.\n\n* `SUDO_USERS`: The Telegram user_ids who should be allowed to use the sensitive features of the robot.\n\n* `TG_IRU_S_M_ID`: this is used for the `sretlif` plugins.\n\n* `WARN_DATA_ID`: this is used for the `warns` plugins.\n\n* `WARN_SETTINGS_ID`: this is used for the `warns` plugins.\n\n* `A_PIN_MESSAGE_ID`: this is used for the `antichannelpin` plugins.\n\n* `USE_TG_BOT_APP_ID`: this is used for the google search plugin. you can get it by sending /getapi to [@useTGBot](https://useTGBot.t.me)\n\n## Credits, and Thanks to\n\n* [Dan Tès](https://telegram.dog/haskell) for his [Pyrogram Library](https://github.com/pyrogram/pyrogram)\n* [Colin Shark](https://telegram.dog/ColinShark) for his [PyroBot](https://git.colinshark.de/PyroBot/PyroBot)\n* [![CopyLeft](https://telegra.ph/file/b514ed14d994557a724cb.jpg)](https://telegra.ph/file/fab1017e21c42a5c1e613.mp4 \"CopyLeft Credit Video\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspechide%2Fpyrogrambot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspechide%2Fpyrogrambot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspechide%2Fpyrogrambot/lists"}