Files
NapCatQQ/packages/napcat-onebot/action/guild/GetGuildList.ts
T
时瑾 e6f6468377
Release NapCat / validate-version (push) Canceled after 0s
Release NapCat / Build-Framework (push) Canceled after 0s
Release NapCat / Build-Shell (push) Canceled after 0s
Release NapCat / Download-QNX64 (push) Canceled after 0s
Release NapCat / release-napcat (push) Canceled after 0s
Revert "fix: 对齐 OneBot schema 与合并转发消息处理行为 (#1694)" (#1701)
This reverts commit deae7fd467.
2026-03-13 15:26:53 +08:00

21 lines
791 B
TypeScript

import { OneBotAction } from '@/napcat-onebot/action/OneBotAction';
import { ActionName } from '@/napcat-onebot/action/router';
import { Type } from '@sinclair/typebox';
import { GuildActionsExamples } from '../example/GuildActionsExamples';
export class GetGuildList extends OneBotAction<void, void> {
override actionName = ActionName.GetGuildList;
override payloadSchema = Type.Object({});
override returnSchema = Type.Null();
override actionSummary = '获取频道列表';
override actionDescription = '获取当前帐号已加入的频道列表';
override actionTags = ['频道接口'];
override payloadExample = GuildActionsExamples.GetGuildList.payload;
override returnExample = GuildActionsExamples.GetGuildList.response;
async _handle (): Promise<void> {
}
}