SpEcHiDe/PyroGramBot
关于
pluggable Telegram Bot based on Pyrogram
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Bot 🔥🤖
A Telegram Bot [still WIP, not stable] based on Pyrogram
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.
This 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 for more details.
installing
ENVironment VARiables
Mandatory Environment Variables
TG_BOT_TOKEN_BF_HER: Create a bot using @BotFather, and get the Telegram API token.APP_IDAPI_HASH: Get these two values from my.telegram.org/apps.- N.B.: if Telegram is blocked by your ISP, try our Telegram bot to get the IDs.
Optional Environment Variables
ENV: set this toANYTHINGif you want to use ENVIRON mode.COMMAND_HAND_LER: the default value is/, which is the recommended value. Change this only if you know what you are doing.TMP_DOWNLOAD_DIRECTORY: the path (as a string) to store the temporary files, which are used by some of the plugins.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. [ to be deprecated ]TELEGRAM_URL: create a Telegram Channel / Super Group, with you robot as administrator, and add the channel id as an integer in this variable.G_DRIVE_CLIENT_ID: check the Telegram Channel for Instructions on Setting up Google Drive.G_DRIVE_CLIENT_SECRET: check the Telegram Channel for Instructions on Setting up Google Drive.OWNER_ID: this is not used currently, and might be used in the future.SUDO_USERS: The Telegram user_ids who should be allowed to use the sensitive features of the robot.TG_IRU_S_M_ID: this is used for thesretlifplugins.WARN_DATA_ID: this is used for thewarnsplugins.WARN_SETTINGS_ID: this is used for thewarnsplugins.A_PIN_MESSAGE_ID: this is used for theantichannelpinplugins.USE_TG_BOT_APP_ID: this is used for the google search plugin. you can get it by sending /getapi to @useTGBot
Credits, and Thanks to
- Dan Tès for his Pyrogram Library
- Colin Shark for his PyroBot

探索相关项目
加载中…