force resultId to string

This commit is contained in:
Clansty
2025-01-21 22:10:52 +08:00
parent c5434efd56
commit 2a4b0cbc09
3 changed files with 3 additions and 3 deletions

View File

@@ -181,7 +181,7 @@ export class PacketMsgFaceElement extends IPacketMsgElement<SendFaceElement> {
sourceType: 1,
resultId: this.resultId,
preview: "",
ramdomType: 1
randomType: 1
}),
businessType: 1
}

View File

@@ -346,7 +346,7 @@ export const QBigFaceExtra = {
AniStickerType: ProtoField(5, ScalarType.INT32, true),
resultId: ProtoField(6, ScalarType.STRING, true),
preview: ProtoField(7, ScalarType.STRING, true),
ramdomType: ProtoField(9, ScalarType.INT32, true),
randomType: ProtoField(9, ScalarType.INT32, true),
};
export const QSmallFaceExtra = {

View File

@@ -494,7 +494,7 @@ export class OneBotMsgApi {
stickerType: face.AniStickerType,
packId: face.AniStickerPackId,
sourceType: 1,
resultId,
resultId: resultId?.toString(),
chainCount,
},
};