Skip to content

Commit

Permalink
feat: new
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Sep 26, 2024
1 parent 7d709f4 commit 1c212ff
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/core/entities/msg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,8 @@ export interface GrayTipElement {
export enum FaceType {
normal = 1, // 小黄脸
normal2 = 2, // 新小黄脸, 从faceIndex 222开始?
dice = 3 // 骰子
dice = 3, // 骰子
poke = 5 // 拍一拍
}

export enum FaceIndex {
Expand Down
7 changes: 6 additions & 1 deletion src/core/services/NodeIKernelGroupService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,12 @@ export interface NodeIKernelGroupService {

getGroupRecommendContactArkJson(groupCode: string): unknown;

getJoinGroupLink(groupCode: string): unknown;
getJoinGroupLink(param: {
groupCode: string,
srcId: number,//73
needShortUrl: boolean,//true
additionalParam: string//''
}): Promise<GeneralCallResult & { url?: string }>;

modifyGroupExtInfo(groupCode: string, arg: unknown): void;

Expand Down
12 changes: 11 additions & 1 deletion src/onebot/api/msg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,17 @@ export class OneBotMsgApi {
},
};
},

// {
// elementId: '0',
// elementType: 6,
// faceElement: {
// faceIndex: 0,
// faceType: 5,
// msgType: 0,
// pokeType: 1,
// pokeStrength: 0
// }
// }
[OB11MessageDataType.mface]: async ({
data: {
emoji_package_id, emoji_id, key, summary,
Expand Down

0 comments on commit 1c212ff

Please sign in to comment.