mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-05 07:01:16 +00:00
Moved action example data to dedicated 'examples.ts' files for each action category (extends, file, go-cqhttp, group, msg, system, user). Updated all action classes to import and use the new example modules, improving code organization and maintainability. Also added missing actionTags and actionDescription where appropriate.
11 lines
438 B
TypeScript
11 lines
438 B
TypeScript
import { ActionName } from '@/napcat-onebot/action/router';
|
|
import { CanSend } from './CanSendRecord';
|
|
import { SystemActionsExamples } from './examples';
|
|
|
|
export default class CanSendImage extends CanSend {
|
|
override actionName = ActionName.CanSendImage;
|
|
override actionDescription = '检查是否可以发送图片';
|
|
override actionTags = ['系统接口'];
|
|
override payloadExample = SystemActionsExamples.CanSendImage.payload;
|
|
}
|