全球主机交流论坛

标题: 100块钱的TG机器人源码送给大家了 [打印本页]

作者: Nslook    时间: 2023-9-9 21:50
标题: 100块钱的TG机器人源码送给大家了
下载地址: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步骤即可!


作者: jacob    时间: 2023-9-9 21:52
干嘛用的呀这机器人..
作者: AMG    时间: 2023-9-9 21:53
这是什么机器人?
作者: zhbbo    时间: 2023-9-9 21:55
解压密码是啥?
作者: antbt    时间: 2023-9-9 21:56
zhbbo 发表于 2023-9-9 21:55
解压密码是啥?

解压密码:mjj
作者: zhbbo    时间: 2023-9-9 21:57
zhbbo 发表于 2023-9-9 21:55
解压密码是啥?

密码知道了,机器人是干嘛的呢?
作者: Nslook    时间: 2023-9-9 21:58
jacob 发表于 2023-9-9 21:52
干嘛用的呀这机器人..

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

支持关键词回复、支持设置按钮回复、支持个人、群、频道等的消息处理,另外支持消息定时推送,基于thinkphp开发的TG电报机器人系统
作者: 非常店小二    时间: 2023-9-9 22:26
插眼
作者: muyijiang    时间: 2023-9-9 22:58
点击登录没反应
作者: 看我签名.    时间: 2023-9-9 23:08
会不会封号
作者: Nslook    时间: 2023-9-10 09:54
muyijiang 发表于 2023-9-9 22:58
点击登录没反应

https://www.mbx0.com/10246.html 我还没试着呢 解决了吗
作者: Nslook    时间: 2023-9-10 09:57
看我签名. 发表于 2023-9-9 23:08
会不会封号

这是小调用api 正常操作 不涉及登录账号
作者: muyijiang    时间: 2023-9-10 10:11
Nslook 发表于 2023-9-10 09:54
https://www.mbx0.com/10246.html 我还没试着呢 解决了吗

没有
作者: Uscnc    时间: 2023-9-10 13:43
这个我记得github是开源的吧
作者: 伴之则安    时间: 2023-9-10 14:43
登录不了啊




欢迎光临 全球主机交流论坛 (https://sunk.eu.org/) Powered by Discuz! X3.4