mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
重定向思考到face212
This commit is contained in:
parent
6a65c4c9e6
commit
449dc12c1b
1 changed files with 4 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ export const faceMap = {
|
||||||
206: '害怕',
|
206: '害怕',
|
||||||
210: '飙泪',
|
210: '飙泪',
|
||||||
211: '我不看',
|
211: '我不看',
|
||||||
212: '思考||托腮',
|
212: '托腮',
|
||||||
214: '啵啵',
|
214: '啵啵',
|
||||||
215: '糊脸',
|
215: '糊脸',
|
||||||
216: '拍头',
|
216: '拍头',
|
||||||
|
|
@ -248,6 +248,9 @@ export const faceMap = {
|
||||||
// 反向映射,将表情名称映射到表情 ID
|
// 反向映射,将表情名称映射到表情 ID
|
||||||
export const faceMapReverse = _.invert(faceMap);
|
export const faceMapReverse = _.invert(faceMap);
|
||||||
|
|
||||||
|
// 将“思考”重定向到 212(托腮)
|
||||||
|
faceMapReverse['思考'] = '212';
|
||||||
|
|
||||||
// 将消息中的表情占位符转换为 oicq 的表情代码
|
// 将消息中的表情占位符转换为 oicq 的表情代码
|
||||||
export async function convertFaces(msg, handleAt = false, e) {
|
export async function convertFaces(msg, handleAt = false, e) {
|
||||||
// 如果 e?.isGroup 为 true 且 handleAt 为 true,则设置 handleAt 为 true
|
// 如果 e?.isGroup 为 true 且 handleAt 为 true,则设置 handleAt 为 true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue