@hieuzest/koishi-plugin-mahjongpub 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -158,7 +158,7 @@ class MahjongPub {
158
158
  return session.text('.failed');
159
159
  }
160
160
  });
161
- ctx.command('mahjongpub.team.add <...users:string>')
161
+ ctx.command('mahjongpub.team.add <...users:string>', { authority: 3 })
162
162
  .alias('!添加', '!添加')
163
163
  .option('channel', '-c <channel:channel>')
164
164
  .option('team', '-t <team:string>')
@@ -190,7 +190,7 @@ class MahjongPub {
190
190
  return session.text('.failed');
191
191
  }
192
192
  });
193
- ctx.command('mahjongpub.team.remove <...indices:natural>')
193
+ ctx.command('mahjongpub.team.remove <...indices:natural>', { authority: 3 })
194
194
  .alias('!删除', '!删除')
195
195
  .option('channel', '-c <channel:channel>')
196
196
  .option('team', '-t <team:string>')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hieuzest/koishi-plugin-mahjongpub",
3
3
  "description": "Mahjong.pub API",
4
- "version": "0.1.10",
4
+ "version": "0.1.11",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [