koishi-plugin-autopic
v3.4.2
Published
Automatically sends random pics to specific targets.
Downloads
160
Maintainers
Readme
koishi-plugin-autopic
自动往指定的频道发送图片。
安装
npm
npm install koishi-plugin-autopic koishi-plugin-pics
需要独立安装 koishi-plugin-pics 插件,并完成配置。
配置
部分配置见 koishi-schedule-send 的定义。
# koishi.yaml
plugins:
autopic@foo:
sourceTags: # 图源标签,见 koishi-plugin-pics
- anime
picTags: [] # 图片标签,见 koishi-plugin-pics
# 下列配置详见 koishi-schedule-send
cron: '18 13 * * * *'
interval: 30000
targets:
- bot: 'onebot:1111111111'
users:
- '33333333'
channels:
- channelId: '222222222'