Apply formatting and minor style fixes across repo

Normalize code style across multiple packages: whitespace cleanup, consistent commas and trailing commas in arrays/enums/objects, fix table markdown lines in CI comment template, ensure newline at EOF, normalize header/object property quoting and spacing, remove stray blank lines and minor non-functional comment tweaks. These are formatting-only changes and small type/annotation spacing adjustments; no functional behavior changes intended.
This commit is contained in:
手瓜一十雪 committed 2026-03-05 18:45:50 +08:00
1 parent d2d0b258bc
commit 974528fe7e
186 files changed
+1367 -1233

No files matched your search

@@ -2,7 +2,6 @@ import { OneBotAction } from '@/napcat-onebot/action/OneBotAction';
import { ActionName } from '@/napcat-onebot/action/router';
import { Static, Type } from '@sinclair/typebox';
export const SetFriendRemarkPayloadSchema = Type.Object({
user_id: Type.String({ description: '对方 QQ 号' }),
remark: Type.String({ description: '备注内容' }),
@@ -19,11 +18,12 @@ export default class SetFriendRemark extends OneBotAction<SetFriendRemarkPayload
override actionTags = ['用户接口'];
override payloadExample = {
user_id: '123456',
remark: '测试备注'
remark: '测试备注',
};
override returnExample = null;
override errorExamples = [
{ code: 1400, description: '备注设置失败(好友不存在或非法输入)' }
{ code: 1400, description: '备注设置失败(好友不存在或非法输入)' },
];
async _handle (payload: SetFriendRemarkPayload): Promise<void> {