Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ShrBox/ACGPro
在群内随机发送二次元图片,支持关键词检索
https://github.com/ShrBox/ACGPro
mirai mirai-console qq-bot
Last synced: 26 days ago
JSON representation
在群内随机发送二次元图片,支持关键词检索
- Host: GitHub
- URL: https://github.com/ShrBox/ACGPro
- Owner: ShrBox
- License: gpl-3.0
- Archived: true
- Created: 2020-08-28T12:20:02.000Z (over 4 years ago)
- Default Branch: 0.5.2
- Last Pushed: 2021-01-16T07:26:39.000Z (almost 4 years ago)
- Last Synced: 2024-09-03T17:01:37.778Z (3 months ago)
- Topics: mirai, mirai-console, qq-bot
- Language: Java
- Homepage:
- Size: 146 KB
- Stars: 67
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mirai - ShrBox/ACGH
README
# ACGPro
![Java CI with Gradle](https://github.com/ShrBox/ACGH/workflows/Java%20CI%20with%20Gradle/badge.svg)
在群内随机发送二次元图片,支持关键词检索
目前仅适配Mirai-console 0.5.2
使用前需要先[申请API](https://api.lolicon.app/#/setu?id=apikey)# config.yml
```yaml
apikey: '' //填写apikey
r18: false //是否开启r18
r18-groups: //允许r18的群
- 1145141919810
FlashImageMode: true //闪照模式,发送图片为闪照
AutoRecall: 0 //自动撤回时间,0为禁用
MaxThread: 10 //最大线程数
OriginalImages: false //原图模式
```# Download
[Releases](https://github.com/ShrBox/ACGPro/releases)
# Usage
在群内发送`acg [关键词] [数量(1-20)]`
关键词中可以用`_`来表示空格
可以不加关键词和数量
控制台/群内输入`/acgreload`指令可以重载配置文件