Commit ce475270 authored by nanahira's avatar nanahira

fix readme

parent ab1b5962
Pipeline #5987 passed with stages
in 1 minute and 42 seconds
...@@ -20,7 +20,6 @@ npm install koishi-plugin-fortune ...@@ -20,7 +20,6 @@ npm install koishi-plugin-fortune
module.exports = { module.exports = {
plugins: { plugins: {
"/path/to/fortune/index.js": { "/path/to/fortune/index.js": {
adminContext: (ctx) => ctx.private(),
header: '今日 ({date}) 的占卜结果:\n', header: '今日 ({date}) 的占卜结果:\n',
masterKey: 'my-master-key', masterKey: 'my-master-key',
results: ['开心', '不开心'] results: ['开心', '不开心']
......
{ {
"name": "koishi-plugin-fortune", "name": "koishi-plugin-fortune",
"version": "1.0.0", "version": "1.0.1",
"description": "Koishi 的算卦插件", "description": "Koishi 的算卦插件",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/src/index.d.ts", "typings": "dist/src/index.d.ts",
......
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