async-bot / example
示例机器人项目
dev-master
2020-03-04 22:48 UTC
Requires
- php: ^7.4
- amphp/http-client: dev-master as 4.0.0
- amphp/http-client-cookies: dev-master
- amphp/log: ^1.0
- async-bot/core: dev-master
- async-bot/github-status-plugin: dev-master
- async-bot/google-search-plugin: dev-master
- async-bot/imdb-plugin: dev-master
- async-bot/linux-manual-pages-plugin: dev-master
- async-bot/open-grok-plugin: dev-master
- async-bot/packagist-finder-plugin: dev-master
- async-bot/php-bugs-plugin: dev-master
- async-bot/stackoverflow-chat-driver: dev-master
- async-bot/timer-plugin: dev-master
- async-bot/wikipedia-plugin: dev-master
- async-bot/word-of-the-day-plugin: dev-master
- async-bot/xkcd-plugin: dev-master
This package is auto-updated.
Last update: 2024-09-03 19:05:09 UTC
README
目前这是一个非常基础的示例,它使用 StackOverflow 聊天驱动程序登录聊天室,并使用 Timer 插件每15分钟在聊天室中发布一次时间。
需求
- PHP 7.4
使用方法
- 在:https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2f
- 不要使用第三方注册
- 将配置文件
./config.php.dist
复制到./config.php
- 在
./config.php
中填写您的凭证 - 运行脚本
php ./bin/botman.php