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:
1 parent
d2d0b258bc
commit
974528fe7e
186 files changed
+1367
-1233
No files matched your search
@@ -25,8 +25,9 @@ export class GetAiRecord extends GetPacketStatusDepends<PayloadType, ReturnType>
|
||||
override payloadExample = {
|
||||
character: 'ai_char_1',
|
||||
group_id: '123456',
|
||||
text: '你好'
|
||||
text: '你好',
|
||||
};
|
||||
|
||||
override returnExample = 'http://example.com/ai_voice.silk';
|
||||
|
||||
async _handle (payload: PayloadType) {
|
||||
|
||||
@@ -26,7 +26,7 @@ export class GetGroupIgnoredNotifies extends OneBotAction<PayloadType, ReturnTyp
|
||||
override returnExample = {
|
||||
invited_requests: [],
|
||||
InvitedRequest: [],
|
||||
join_requests: []
|
||||
join_requests: [],
|
||||
};
|
||||
|
||||
async _handle (): Promise<ReturnType> {
|
||||
|
||||
@@ -63,7 +63,7 @@ export class GetGroupNotice extends OneBotAction<PayloadType, ReturnType> {
|
||||
images: image,
|
||||
},
|
||||
settings: retApiNotice.settings,
|
||||
read_num: retApiNotice.read_num
|
||||
read_num: retApiNotice.read_num,
|
||||
};
|
||||
retNotices.push(retNotice);
|
||||
}
|
||||
|
||||
@@ -19,14 +19,15 @@ export class GetGroupShutList extends OneBotAction<PayloadType, ReturnType> {
|
||||
override actionSummary = '获取群禁言列表';
|
||||
override actionTags = ['群组接口'];
|
||||
override payloadExample = {
|
||||
group_id: '123456789'
|
||||
group_id: '123456789',
|
||||
};
|
||||
|
||||
override returnExample = [
|
||||
{
|
||||
user_id: 123456789,
|
||||
nickname: '禁言用户',
|
||||
shut_up_time: 1734567890
|
||||
}
|
||||
shut_up_time: 1734567890,
|
||||
},
|
||||
];
|
||||
|
||||
async _handle (payload: PayloadType) {
|
||||
|
||||
@@ -27,8 +27,9 @@ export class SendGroupAiRecord extends GetPacketStatusDepends<PayloadType, Retur
|
||||
override payloadExample = {
|
||||
character: 'ai_char_1',
|
||||
group_id: '123456',
|
||||
text: '你好'
|
||||
text: '你好',
|
||||
};
|
||||
|
||||
override returnExample = {};
|
||||
|
||||
async _handle (payload: PayloadType) {
|
||||
|
||||
Reference in new issue
Block a user