全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 4911|回复: 15

100块钱的TG机器人源码送给大家了

[复制链接]
发表于 2023-9-9 21:50:37 | 显示全部楼层 |阅读模式
下载地址:https://www.filemail.com/d/cfpmeiuqcfbrzyc


搭建教程:
1、上传文件到服务器
2、PHP > 7.0
3、设置伪静态(具体可以参考Thinkphp框架安装方法)
location / {
    if (!-e $request_filename){
        rewrite  ^(.*)$  /index.php?s=$1  last;   break;
    }
}

4、选择网站运行目录为Public
5、配置数据库(在application/database.php)
6、导入数据库
7、后台地址: 您的域名/admin
账号:admin 密码:123456


使用方法:
1、创建机器人
Tele-gram里联系botfather,它会提示你用tele-gram打开。然后你就打开了botfarther的聊天对话框。输入:

/newbot

回车发送,botfarther会反馈

Alright, a new bot. How are we going to call it? Please choose a name for your bot.

输入你要创建的bot名字。例如:

weixiaolive.com_bot

回车发送,它会反馈

Good. Now let's choose a username for your bot. It must end in bot. Like this, for example: TetrisBot or tetris_bot.

我再输入 例如:

DavidBot

这是这个机器人的名字。它会反馈:

Sorry, this username is already taken. Please try something different.

这名字已经被用了。我们换一个即可,当反馈 :

BotFather, [16.02.17 14:23] Done! Congratulations on your new bot. You will find it at t.me/Gz_David_Bot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this. Use this token to access the HTTP API: xxx:xxx(此处为您的Token,复制它)

时为正常,如果更换密钥请重新执行2、3步骤即可!

发表于 2023-9-9 21:56:33 | 显示全部楼层
zhbbo 发表于 2023-9-9 21:55
解压密码是啥?

解压密码:mjj
发表于 2023-9-10 13:43:46 | 显示全部楼层
这个我记得github是开源的吧
发表于 2023-9-9 21:52:09 来自手机 | 显示全部楼层
干嘛用的呀这机器人..
发表于 2023-9-9 21:53:41 | 显示全部楼层
这是什么机器人?
发表于 2023-9-9 21:55:32 | 显示全部楼层
解压密码是啥?
发表于 2023-9-9 21:57:18 | 显示全部楼层
zhbbo 发表于 2023-9-9 21:55
解压密码是啥?

密码知道了,机器人是干嘛的呢?
 楼主| 发表于 2023-9-9 21:58:35 | 显示全部楼层
jacob 发表于 2023-9-9 21:52
干嘛用的呀这机器人..

支持多个添加机器人、支持关键词回复、支持设置按钮回复、支持个人、群、频道等的消息处理,另外支持消息定时推送,基于thinkphp开发的TG电报机器人系统,支持关键词回复!
 楼主| 发表于 2023-9-9 22:23:51 | 显示全部楼层
AMG 发表于 2023-9-9 21:53
这是什么机器人?

支持关键词回复、支持设置按钮回复、支持个人、群、频道等的消息处理,另外支持消息定时推送,基于thinkphp开发的TG电报机器人系统
发表于 2023-9-9 22:58:12 | 显示全部楼层
点击登录没反应
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-9-12 23:44 , Processed in 0.065406 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表