Merge branch 'NapNeko:main' into main

This commit is contained in:
kanocence 2024-11-07 15:34:19 +08:00 committed by GitHub
commit 40be6b9c43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
"name": "NapCatQQ",
"slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现",
"version": "3.6.2",
"version": "3.6.3",
"icon": "./logo.png",
"authors": [
{

View File

@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
"version": "3.6.2",
"version": "3.6.3",
"scripts": {
"build:framework": "vite build --mode framework",
"build:shell": "vite build --mode shell",

View File

@ -1 +1 @@
export const napCatVersion = '3.6.2';
export const napCatVersion = '3.6.3';

View File

@ -5,7 +5,7 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts';
const SchemaData = {
type: 'object',
properties: {
group_id: { type: 'string' },
group_id: { type: ['string', 'number'] },
},
required: ['group_id'],
} as const satisfies JSONSchema;
@ -17,7 +17,7 @@ export class SetGroupSign extends BaseAction<Payload, any> {
payloadSchema = SchemaData;
async _handle(payload: Payload) {
return await this.core.apis.PacketApi.sendGroupSignPacket(payload.group_id);
return await this.core.apis.PacketApi.sendGroupSignPacket(payload.group_id.toString());
}
}
export class SendGroupSign extends SetGroupSign {

View File

@ -164,7 +164,7 @@ async function onSettingWindowCreated(view) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
void 0,
SettingButton("V3.6.2", "napcat-update-button", "secondary")
SettingButton("V3.6.3", "napcat-update-button", "secondary")
)
]),
SettingList([