mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
Moved action example files into a new 'example' directory and updated all imports accordingly. Removed the monolithic 'examples.ts' and redefined ActionExamples in OneBotAction.ts to only include common error codes. This improves code organization and maintainability.
15 lines
296 B
TypeScript
15 lines
296 B
TypeScript
export const PacketActionsExamples = {
|
|
GetPacketStatus: {
|
|
payload: {},
|
|
response: { status: 'ok' },
|
|
},
|
|
SendPoke: {
|
|
payload: { user_id: '123456789' },
|
|
response: {},
|
|
},
|
|
SetGroupTodo: {
|
|
payload: { group_id: '123456', message_id: '123456789' },
|
|
response: {},
|
|
},
|
|
};
|