adlinkfly telegram bot
v2.0.0
HOST_PORT = 8080 #Only for Docker Container Deployment - OPTIONAL - DEFAULT: 8080
DOMAIN_NAME = yourdomain.com
BOT_TOKEN = Paste Your Telegram Bot API Token
ADLINKFLY_TOKEN = Paste Your Adlinkfly API Token
START = Type the start message here you want to show the user nNew Line Starts Here
HELP = Type the help message here you want to show the user nNew Line Starts Here
#Don't use https:// on DOMAIN_NAME field just type the nacked domain name as shown!
#To change the line (New Line) of START or HELP message use ' n ' between the lines (Works as Enter Key of Keyboard! Python Syntax... :-)
1键部署(最简单):
补充部署:
https://github.com/techishfellow/adlinkfly-telegram-bot.git
python3 adlinkfly_bot.py
pip install -r requirements.txt
如前所述(在配置 /环境Vriables部分中),打开一个“秘密”窗口并配置所有秘密。补充秘密的工作原理与环境变量相同。不知道如何使用Replate Secrets?在这里阅读
现在,只需单击顶部的绿色“运行”按钮即可启动机器人。就是这样...!!
自定义服务器部署(使用Docker)(建议):
curl -sSL https://get.docker.com/ | CHANNEL=stable sh && apt install docker-compose-plugin
git clone https://github.com/techishfellow/adlinkfly-telegram-bot.git /opt/adlinkfly-telegram-bot
cd /opt/adlinkfly-telegram-bot && touch /opt/adlinkfly-telegram-bot/.env && nano /opt/adlinkfly-telegram-bot/.env
用CTRL + O保存它,然后按Enter ,退出nano CTRL + X
cd /opt/adlinkfly-telegram-bot && docker compose build && docker compose up -d
cd /opt/adlinkfly-telegram-bot && docker compose down
自定义服务器部署(不建议):
sudo apt install python3-pip
pip install -r requirements.txt
python3 adlinkfly_bot.py
pkill -SIGINT -f 'gunicorn -b 0.0.0.0:8080 -w 4 webserver:adlinkflytgbot'
pip install -r requirements.txt
python3 adlinkfly_bot.py
Adlinkfly Telegram Bot是一个开放式项目,该项目均根据GPL-3.0许可,任何人都可以查看,修改或使用(个人和商业)它的资源,而无需任何额外的权限。如果您想分发它的资源,请考虑将其归因于此存储库。注意:此脚本不是由MightyScripts正式开发,支持或隶属的。这只是我的一个爱好项目!
一个开源项目- 由Subhamoy的♥开发