diff --git a/src/core/apis/webapi.ts b/src/core/apis/webapi.ts index 7ac194b4..0f5274d9 100644 --- a/src/core/apis/webapi.ts +++ b/src/core/apis/webapi.ts @@ -194,7 +194,7 @@ export class NTQQWebApi { const HonorInfo: any = { group_id: groupCode }; - if (getType === WebHonorType.TALKACTIVE || getType === WebHonorType.ALL) { + if (getType === WebHonorType.TALKATIVE || getType === WebHonorType.ALL) { try { const RetInternal = await getDataInternal(groupCode, 1); if (!RetInternal) { @@ -221,7 +221,7 @@ export class NTQQWebApi { this.context.logger.logDebug(e); } } - if (getType === WebHonorType.PERFROMER || getType === WebHonorType.ALL) { + if (getType === WebHonorType.PERFORMER || getType === WebHonorType.ALL) { try { const RetInternal = await getDataInternal(groupCode, 2); if (!RetInternal) { @@ -240,7 +240,7 @@ export class NTQQWebApi { this.context.logger.logDebug(e); } } - if (getType === WebHonorType.PERFROMER || getType === WebHonorType.ALL) { + if (getType === WebHonorType.PERFORMER || getType === WebHonorType.ALL) { try { const RetInternal = await getDataInternal(groupCode, 3); if (!RetInternal) { diff --git a/src/core/entities/webapi.ts b/src/core/entities/webapi.ts index 92d02363..94e1c8cb 100644 --- a/src/core/entities/webapi.ts +++ b/src/core/entities/webapi.ts @@ -1,9 +1,24 @@ export enum WebHonorType { ALL = 'all', - TALKACTIVE = 'talkative', - PERFROMER = 'performer', + /** + * 群聊之火 + */ + TALKATIVE = 'talkative', + /** + * 群聊炽焰 + */ + PERFORMER = 'performer', + /** + * 龙王 + */ LEGEND = 'legend', - STORONGE_NEWBI = 'strong_newbie', + /** + * 冒尖小春笋(R.I.P) + */ + STRONG_NEWBIE = 'strong_newbie', + /** + * 快乐源泉 + */ EMOTION = 'emotion' } export interface WebApiGroupMember { @@ -107,4 +122,4 @@ export interface GroupEssenceMsgRet { group_role: number config_page_url: string } -} \ No newline at end of file +}