Commit d8017e66 authored by nanahira's avatar nanahira

minor fix

parent 85ead0e8
Pipeline #13057 failed with stages
in 1 minute and 34 seconds
...@@ -250,7 +250,7 @@ export default class PicsContainer ...@@ -250,7 +250,7 @@ export default class PicsContainer
} }
} }
@UseCommand('{{commandName}} [...tags:string]') @UseCommand('{{commandName}} [...tags:string]')
@CommandLocale('zh', { @CommandLocale('zh', {
description: '获取随机图片', description: '获取随机图片',
options: { options: {
......
...@@ -6,7 +6,7 @@ describe('Test of plugin.', () => { ...@@ -6,7 +6,7 @@ describe('Test of plugin.', () => {
beforeEach(async () => { beforeEach(async () => {
app = new App(); app = new App();
// app.plugin(TargetPlugin); app.plugin(TargetPlugin, { commandName: 'setu' });
await app.start(); await app.start();
}); });
......
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