diff options
author | Kyomotoi <[email protected]> | 2021-01-26 18:43:13 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2021-01-26 18:43:13 +0800 |
commit | 7640568a42493bc5a5e44bc82b1ecfa87e51c5f1 (patch) | |
tree | 60f29b756d58b085c95573515d3e4bd6f41426a8 /ATRI/config | |
parent | d0d31b2630697c97e848f00142f06b81f63b255a (diff) | |
download | ATRI-7640568a42493bc5a5e44bc82b1ecfa87e51c5f1.tar.gz ATRI-7640568a42493bc5a5e44bc82b1ecfa87e51c5f1.tar.bz2 ATRI-7640568a42493bc5a5e44bc82b1ecfa87e51c5f1.zip |
[Update]
Diffstat (limited to 'ATRI/config')
-rw-r--r-- | ATRI/config/character.plugin.yml (renamed from ATRI/config/bot.plugin.yml) | 14 | ||||
-rw-r--r-- | ATRI/config/curse.plugin.yml | 9 | ||||
-rw-r--r-- | ATRI/config/hitokoto.plugin.yml | 13 | ||||
-rw-r--r-- | ATRI/config/main.config.yml | 42 | ||||
-rw-r--r-- | ATRI/config/setu.plguin.yml | 12 | ||||
-rw-r--r-- | ATRI/config/utils.plugin.yml | 13 |
6 files changed, 83 insertions, 20 deletions
diff --git a/ATRI/config/bot.plugin.yml b/ATRI/config/character.plugin.yml index 4aab330..f362cab 100644 --- a/ATRI/config/bot.plugin.yml +++ b/ATRI/config/character.plugin.yml @@ -3,7 +3,7 @@ # · 修改前请先阅读文档相关部分 # ================================== callRobot: - command: ['萝卜子', 'robot', 'ROBOT', 'bot', 'Bot'] + command: ['萝卜子'] repo: 0: [ '是亚托莉...萝卜子可是对机器人的蔑称...', @@ -116,7 +116,8 @@ morning: 3: period: [20, 24] repo: [ - '' + '嗯早嗯早w', + '你是米国人呐还是法国人呐?' ] 4: @@ -131,7 +132,8 @@ morning: ] error: [ - '' + '阿这', + '————?' ] noon: @@ -143,7 +145,8 @@ noon: '睡你午觉去!哼唧!!' ] error: [ - '' + '?没到点呐', + '急啥急啥(' ] night: @@ -195,7 +198,8 @@ night: ] error: [ - '' + '————!', + '————嘀嘀嘀' ] cantdo: diff --git a/ATRI/config/curse.plugin.yml b/ATRI/config/curse.plugin.yml new file mode 100644 index 0000000..d5304e5 --- /dev/null +++ b/ATRI/config/curse.plugin.yml @@ -0,0 +1,9 @@ +curse: + command: ['骂我', '口臭一下', '口臭'] + url: 'https://nmsl.shadiao.app/api.php?level=min&lang=zh_cn' + times: + 3: + repo: ['不是??你这么想被咱骂的嘛??被咱骂就这么舒服的吗?!该......你该不会是.....M吧!'] + + 4: + repo: ['给我适可而止阿!?']
\ No newline at end of file diff --git a/ATRI/config/hitokoto.plugin.yml b/ATRI/config/hitokoto.plugin.yml new file mode 100644 index 0000000..238cf20 --- /dev/null +++ b/ATRI/config/hitokoto.plugin.yml @@ -0,0 +1,13 @@ +hitokoto: + command: ['一言'] + link: # 外部接口,详细请参考文档 + use: false + url: '' + local: # 本地库存,请勿做任何改动 + use: true + file: ['a.json', 'b.json', 'c.json'] + times: + 3: + repo: ['额......需要咱安慰一下嘛~?'] + 6: + repo: ['如果心里感到难受就赶快去睡觉奥!别再憋自己了!']
\ No newline at end of file diff --git a/ATRI/config/main.config.yml b/ATRI/config/main.config.yml index 9d1121e..0116f92 100644 --- a/ATRI/config/main.config.yml +++ b/ATRI/config/main.config.yml @@ -1,13 +1,14 @@ # ATRI 基本配置 +version: YHN-00C-001 bot: # 反向ws地址,建议127.0.0.1 host: 127.0.0.1 # 反向ws端口 - port: 8080 + port: 25565 # 非开发者无需理会 debug: 0 # 超级用户,填自己的QQ号,用“,”隔开 - superusers: [123456789] + superusers: [1172294279] # 机器人昵称,建议不动 nickname: ['ATRI', 'Atri', 'atri', '亚托莉', 'アトリ'] # 命令触发头,建议不动,除非你知道你在做什么 @@ -15,18 +16,29 @@ bot: # 命令分离,建议不动,除非你知道你在做什么 command_sep: ['.'] # 会话失效时间,单位:分钟 - session_expire_timeout: 2 + session_expire_timeout: 3 + # 会话延迟处理时间,单位:秒 + session_waiting_time: 3 + # 会话等待回复 + session_waiting_repo: [ + "歇歇8,。咱8能再快了", + "太快惹,太快惹嗯", + "你吼辣么快干什么!", + "其实吧我觉得你这速度去d个vup挺适合", + "我不接受!你太快了", + "我有点担心,因为你太快了" + ] -# 接口相关配置 -api: - # 涩图接口,URL:https://api.lolicon.app/#/setu - LoliconAPI: xxx - # 搜图接口,URL:https://saucenao.com/ - SauceNaoKEY: xxx +# # 接口相关配置 +# api: +# # 涩图接口,URL:https://api.lolicon.app/#/setu +# lolicon: xxx +# # 搜图接口,URL:https://saucenao.com/ +# SauceNaoKEY: xxx -# # 内置网页端 -# html: -# # 对外地址,建议0.0.0.0 -# host: 0.0.0.0 -# # 对外端口,请检查防火墙是否开启 -# port: 80
\ No newline at end of file +# Post html,相关请参阅文档 +http_post: + # Post地址,建议127.0.0.1 + host: 127.0.0.1 + # Post端口,需同服务端 http 中的端口一致,而不是 ws + port: 23333
\ No newline at end of file diff --git a/ATRI/config/setu.plguin.yml b/ATRI/config/setu.plguin.yml new file mode 100644 index 0000000..1ba4aac --- /dev/null +++ b/ATRI/config/setu.plguin.yml @@ -0,0 +1,12 @@ +setu: + command: ['来张涩图', '涩图来', '开冲'] + link: + url: 'https://api.lolicon.app/setu/' + api_key: '' + file: 'lolicon.db' + local: + normal: 'normal.db' + near_r18: 'near_r18.db' + r18: 'r18' + repo: + waiting: '别急,在找了!'
\ No newline at end of file diff --git a/ATRI/config/utils.plugin.yml b/ATRI/config/utils.plugin.yml new file mode 100644 index 0000000..429e35c --- /dev/null +++ b/ATRI/config/utils.plugin.yml @@ -0,0 +1,13 @@ +utils: + roll: + command: ['/roll'] + too_big: + repo: ['阿..好大...', '太大了太大...唔...', '喔好...大..'] + too_long: + repo: ['这..太长了点,不展示了', '太长了不展示', '太长了不展示就酱w', 'TOO LONG'] + + rcnb: + encode: + command: ['rc一下', 'RC一下'] + decode: + command: ['一下rc', '一下RC'] |