修改
This commit is contained in:
parent
3160a26233
commit
0810a1f401
2
conf/app.conf
Executable file
2
conf/app.conf
Executable file
@ -0,0 +1,2 @@
|
||||
#扫码端口
|
||||
httpport = 8080
|
||||
38
conf/config.yaml
Executable file
38
conf/config.yaml
Executable file
@ -0,0 +1,38 @@
|
||||
mode: parallel
|
||||
containers:
|
||||
- address: http://10.241.101.254:5700
|
||||
username: rainerosion
|
||||
password: rains1782832653
|
||||
cid: Sowtv4R2ZjS-
|
||||
secret: 5TNis-JrvlhyNtL9k5AV5rZW
|
||||
weigth:
|
||||
mode: parallel
|
||||
limit: 20
|
||||
AtTime: 12 #填写1-12之间的数 填错自负默认为10 10点容易出现高峰超时。
|
||||
IsHelp: false #填写true或者false false
|
||||
IsOldV4: false #填写true或者false false是否新版或者旧版V4
|
||||
Wskey: # 填空默认禁用wskey转换 需要的填true
|
||||
IsAddFriend: true #填写true或者false false
|
||||
Lim: 40 #填写1-N 代表限制次数
|
||||
Tyt: #填写1-N 代表推一推需要的互助值,默认为8
|
||||
Later: #延时防止黑IP自己设置 默认60 不怕黑的改为1即可 单位是秒
|
||||
ApiToken: #短信接入token参数
|
||||
theme:
|
||||
static: ./static
|
||||
master: 1782832653
|
||||
database: /Users/rainerosion/GolandProjects/xdd-plus/conf/xdd.db
|
||||
qywx_key:
|
||||
daily_push:
|
||||
resident:
|
||||
user_agent:
|
||||
telegram_bot_token:
|
||||
telegram_user_id:
|
||||
TGURL: #填写TG代理地址参考https://www.kejiwanjia.com/server/5221.html#3worker
|
||||
qquid: 1782832653
|
||||
qqgid: 839483517
|
||||
qbot_public_mode: true
|
||||
default_priority:
|
||||
no_ghproxy: true
|
||||
daily_asset_push_cron: 5 12 * * *
|
||||
repos:
|
||||
- git: https://git.metauniverse-cn.com/https://github.com/shufflewzc/faker3.git
|
||||
106
conf/qbot.yml
Normal file
106
conf/qbot.yml
Normal file
@ -0,0 +1,106 @@
|
||||
# go-cqhttp 默认配置文件
|
||||
|
||||
account: # 账号相关
|
||||
uin: 1565396344 # QQ账号
|
||||
password: '' # 密码为空时使用扫码登录
|
||||
encrypt: false # 是否开启密码加密
|
||||
status: 0 # 在线状态 请参考 https://docs.go-cqhttp.org/guide/config.html#在线状态
|
||||
relogin: # 重连设置
|
||||
delay: 3 # 首次重连延迟, 单位秒
|
||||
interval: 3 # 重连间隔
|
||||
max-times: 0 # 最大重连次数, 0为无限制
|
||||
|
||||
# 是否使用服务器下发的新地址进行重连
|
||||
# 注意, 此设置可能导致在海外服务器上连接情况更差
|
||||
use-sso-address: true
|
||||
|
||||
heartbeat:
|
||||
# 心跳频率, 单位秒
|
||||
# -1 为关闭心跳
|
||||
interval: 5
|
||||
|
||||
message:
|
||||
# 上报数据类型
|
||||
# 可选: string,array
|
||||
post-format: string
|
||||
# 是否忽略无效的CQ码, 如果为假将原样发送
|
||||
ignore-invalid-cqcode: false
|
||||
# 是否强制分片发送消息
|
||||
# 分片发送将会带来更快的速度
|
||||
# 但是兼容性会有些问题
|
||||
force-fragment: false
|
||||
# 是否将url分片发送
|
||||
fix-url: false
|
||||
# 下载图片等请求网络代理
|
||||
proxy-rewrite: ''
|
||||
# 是否上报自身消息
|
||||
report-self-message: false
|
||||
# 移除服务端的Reply附带的At
|
||||
remove-reply-at: false
|
||||
# 为Reply附加更多信息
|
||||
extra-reply-data: false
|
||||
# 跳过 Mime 扫描, 忽略错误数据
|
||||
skip-mime-scan: false
|
||||
|
||||
output:
|
||||
# 日志等级 trace,debug,info,warn,error
|
||||
log-level: warn
|
||||
# 日志时效 单位天. 超过这个时间之前的日志将会被自动删除. 设置为 0 表示永久保留.
|
||||
log-aging: 15
|
||||
# 是否在每次启动时强制创建全新的文件储存日志. 为 false 的情况下将会在上次启动时创建的日志文件续写
|
||||
log-force-new: true
|
||||
# 是否启用 DEBUG
|
||||
debug: false # 开启调试模式
|
||||
|
||||
# 默认中间件锚点
|
||||
default-middlewares: &default
|
||||
# 访问密钥, 强烈推荐在公网的服务器设置
|
||||
access-token: ''
|
||||
# 事件过滤器文件目录
|
||||
filter: ''
|
||||
# API限速设置
|
||||
# 该设置为全局生效
|
||||
# 原 cqhttp 虽然启用了 rate_limit 后缀, 但是基本没插件适配
|
||||
# 目前该限速设置为令牌桶算法, 请参考:
|
||||
# https://baike.baidu.com/item/%E4%BB%A4%E7%89%8C%E6%A1%B6%E7%AE%97%E6%B3%95/6597000?fr=aladdin
|
||||
rate-limit:
|
||||
enabled: false # 是否启用限速
|
||||
frequency: 1 # 令牌回复频率, 单位秒
|
||||
bucket: 1 # 令牌桶大小
|
||||
|
||||
database: # 数据库相关设置
|
||||
leveldb:
|
||||
# 是否启用内置leveldb数据库
|
||||
# 启用将会增加10-20MB的内存占用和一定的磁盘空间
|
||||
# 关闭将无法使用 撤回 回复 get_msg 等上下文相关功能
|
||||
enable: true
|
||||
|
||||
# 连接服务列表
|
||||
# 连接服务列表
|
||||
servers:
|
||||
# 添加方式,同一连接方式可添加多个,具体配置说明请查看文档
|
||||
#- http: # http 通信
|
||||
#- ws: # 正向 Websocket
|
||||
#- ws-reverse: # 反向 Websocket
|
||||
#- pprof: #性能分析服务器
|
||||
# 正向WS设置
|
||||
# - ws:
|
||||
# # 正向WS服务器监听地址
|
||||
# host: 127.0.0.1
|
||||
# # 正向WS服务器监听端口
|
||||
# port: 6700
|
||||
# middlewares:
|
||||
# <<: *default # 引用默认中间件
|
||||
# 反向WS设置
|
||||
# - ws-reverse:
|
||||
# # 反向WS Universal 地址
|
||||
# # 注意 设置了此项地址后下面两项将会被忽略
|
||||
# universal: ws://127.0.0.1:8765/ws
|
||||
# # 反向WS API 地址
|
||||
# api: ws://127.0.0.1:8765/api
|
||||
# # 反向WS Event 地址
|
||||
# event: ws://127.0.0.1:8765/event
|
||||
# # 重连间隔 单位毫秒
|
||||
# reconnect-interval: 3000
|
||||
# middlewares:
|
||||
# <<: *default # 引用默认中间件
|
||||
68
conf/reply.php
Executable file
68
conf/reply.php
Executable file
@ -0,0 +1,68 @@
|
||||
return reply(
|
||||
[
|
||||
`早上好`=>`good morning`
|
||||
`扫码` => `扫个锤子,看公告`
|
||||
`你好`=> `我还行`
|
||||
`美腿` => `https://api.iyk0.com/mtt`
|
||||
`毒鸡汤`=>`https://www.hlapi.cn/api/djt?charset=utf-8&encode=text`
|
||||
`笑话`=>`https://www.hlapi.cn/api/gxdz`
|
||||
`妹妹` => `https://3650000.xyz/api/`
|
||||
`精神语录`=>`https://api.xcboke.cn/api/yulu?c=1002&encode=text`
|
||||
`网抑云`=>`https://api.xcboke.cn/api/yulu?c=1003&encode=text`
|
||||
`朋友圈文案`=>`https://api.xcboke.cn/api/yulu?c=1008&encode=text`
|
||||
`.*来对线`=>`https://api.xcboke.cn/api/yulu?c=1009&encode=text`
|
||||
`动漫台词`=>`https://api.xcboke.cn/api/yulu?c=2001&encode=text`
|
||||
`游戏台词`=>`https://api.xcboke.cn/api/yulu?c=2003&encode=text`
|
||||
`壁纸` => `http://api.btstu.cn/sjbz/?lx=dongman`
|
||||
`小清新` => `http://api.btstu.cn/sjbz/?lx=meizi`
|
||||
`.*美女` => `https://api.lyiqk.cn/purelady`
|
||||
`二次元图` => `https://acg.toubiec.cn/random.php`
|
||||
`.*换一个` => `http://api.btstu.cn/sjbz/?lx=m_dongman`
|
||||
`动漫头像` => `http://shengapi.cn/api/image/acgtx.php`
|
||||
`舔狗日记` => `http://shengapi.cn/api/tgrj.php`
|
||||
`.*骚话.*`=>`https://api.vvhan.com/api/sao`
|
||||
`文明` => `http://api.btstu.cn/sjbz/zsy.php`
|
||||
`富强` => `http://api.btstu.cn/sjbz/?m_lx=suiji`
|
||||
`和谐` => `https://api.btstu.cn/sjbz/api.php`
|
||||
`民主` => `https://cdn.seovx.com/?mom=302`
|
||||
`语录` => `https://api.ixiaowai.cn/ylapi/index.php`
|
||||
`舔狗` => `https://api.ixiaowai.cn/tgrj/index.php`
|
||||
`.*一言.*`=>`https://api.ixiaowai.cn/ylapi/index.php`
|
||||
`说明`=>`https://ghproxy.com/https://raw.githubusercontent.com/U188/JDC/master/sm.jpg`
|
||||
`咨询`=>`https://ghproxy.com/https://raw.githubusercontent.com/U188/JDC/master/zx.png`
|
||||
`密码` => `你猜`
|
||||
`菜单` => `
|
||||
京东菜单
|
||||
———————————
|
||||
说明 丨 咨询
|
||||
打卡 丨 余额
|
||||
许愿
|
||||
———————————
|
||||
娱乐菜单
|
||||
———————————
|
||||
富强 丨 民主
|
||||
文明 丨 和谐
|
||||
妹妹 丨 美女
|
||||
风景 丨 壁纸
|
||||
你好 丨 美腿
|
||||
状态 丨 笑话
|
||||
骚话 丨 对线
|
||||
精神语录丨 毒鸡汤
|
||||
动漫台词丨 朋友圈文案
|
||||
———————————
|
||||
管理员菜单
|
||||
———————————
|
||||
状态 丨 升级
|
||||
重启 丨 转账
|
||||
删除 丨 通知
|
||||
执行 丨 优先级
|
||||
绑定 丨 命令
|
||||
导出 丨 助力
|
||||
回复 丨 屏蔽
|
||||
更新账号 | 清理过期账号
|
||||
取消屏蔽 | 任务列表
|
||||
设置管理员 | 取消管理员
|
||||
———————————
|
||||
京东机器人`
|
||||
]
|
||||
)
|
||||
BIN
conf/xdd.db
Normal file
BIN
conf/xdd.db
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user