mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
Added or updated actionSummary, actionTags, payloadExample, and returnExample properties for all OneBot action classes in the napcat-onebot package. This improves API documentation and discoverability by providing concise summaries, categorization tags, and usage examples for each action.
12 lines
443 B
TypeScript
12 lines
443 B
TypeScript
import { ActionName } from '@/napcat-onebot/action/router';
|
|
import { CanSend } from './CanSendRecord';
|
|
|
|
export default class CanSendImage extends CanSend {
|
|
override actionName = ActionName.CanSendImage;
|
|
override actionSummary = '是否可以发送图片';
|
|
override actionDescription = '检查是否可以发送图片';
|
|
override actionTags = ['系统接口'];
|
|
override payloadExample = {};
|
|
override returnExample = { yes: true };
|
|
}
|