Commit 650a859a authored by nanahira's avatar nanahira

fix

parent f69b6177
Pipeline #5300 failed with stages
...@@ -17,7 +17,7 @@ const app = new App({ ...@@ -17,7 +17,7 @@ const app = new App({
}); });
app.plugin(koishiPluginCommon, { app.plugin(koishiPluginCommon, {
echo: true, echo: false,
onFriendRequest: true, onFriendRequest: true,
onGroupRequest: (session: Session) => onGroupRequest: (session: Session) =>
session.userId && session.userId &&
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
"scripts": { "scripts": {
"build": "tsc && rm -rf ./dist/plugin && cp -rf ./plugin/dist ./dist/plugin", "build": "tsc && rm -rf ./dist/plugin && cp -rf ./plugin/dist ./dist/plugin",
"start": "node dist/index.js", "start": "node dist/index.js",
"pack": "mkdir output ; pkg --out-path output ." "pack": "mkdir output ; pkg --out-path output .",
"release": "npm run build && npm run pack"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment