Skip to content

Commit

Permalink
chore: action
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Dec 30, 2023
1 parent c4c6151 commit 39ff746
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 34 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
run: pnpm install
- name: Build packages
run: pnpm build
- name: Zip packages
run: pnpm pack
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: packages
name: kotori-bot-root
path: |
packages
modules
!packages/*/src
kotori-bot-*.tgz
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ dist
lib
tsconfig.tsbuildinfo
.husky/_
pnpm-lock.yaml
pnpm-lock.yaml
kotori.dev.yml
Binary file added kotori-bot-root-1.0.0.tgz
Binary file not shown.
30 changes: 1 addition & 29 deletions kotori.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
global:
lang: zh_CN
command-prefix: /
# command-alias: <at target=${selfId} />
dirs:
- ./node_modules/
- ./node_modules/@kotori-bot/

adapter:
kotori:
extends: onebot
master: 3324656453
# 连接模式 可选: http ws ws-reverse 推荐首选ws-reverse
mode: ws-reverse
# address: "ws://127.0.0.1"
# WebSocket反向(相对于Gocqhttp)
# port: 8080 # WS反向端口
# WebSocket正向
address: ws://69.176.89.123 # WS地址
port: 8088 # WS端口
retry: 10 # 同上
# Http正反向(暂未支持)
# address: "http://localhost" # 正向Http地址
# port: 8888 # 正向Http端口
# reverse-port: 8080 # 反向Http端口
# retry: 10 # 连接断开或失败时尝试重连间隔时间 单位:秒

cmd-test:
extends: cmd
master: 2333
Expand All @@ -33,14 +14,5 @@ adapter:
sex: male
self-id: 720

kisaki:
extends: qq

master: 2333
retry: 10

plugin:
menu:
alias: cd
keywords: []
content: 菜单 | 小鳥%break%/menu - 查看BOT菜单%break%/hitokoto - 获取一条一言%break%/wiki <content> [order] - 搜索MediaWiki%break%/今日长度 - 查看今日长度%break%/抽象 [抽🐘话] - 孙G在🧵帮你翻译成抽🐘话%break%/music <name> [order:number=1] - 网易云点歌%break% 序号默认为1,填0显示歌曲列表%break%/weather <area> - 查询城市天气%break%ByHotaru
console:
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"bin": {
"release": "./scripts/release.ts"
},
"files": [
"{packages,modules}/*/{lib,dist}/**/*.js",
"README.md",
"LICENSE",
"kotori.yml"
],
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@release-it/conventional-changelog": "^8.0.1",
Expand Down

0 comments on commit 39ff746

Please sign in to comment.