fix: 转发表情包时带文字

fix #56
This commit is contained in:
Clansty 2022-10-13 15:45:30 +08:00
parent b15ffc0d73
commit 65cdff7c07
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,6 @@ import Telegram from '../client/Telegram';
import { Group, GroupMessageEvent, PrivateMessageEvent, Quotable, segment, Sendable } from 'oicq';
import { fetchFile, getBigFaceUrl, getImageUrlByMd5 } from '../utils/urls';
import { ButtonLike, FileLike } from 'telegram/define';
import { CustomFile } from 'telegram/client/uploads';
import { getLogger, Logger } from 'log4js';
import path from 'path';
import exts from '../constants/exts';
@ -54,6 +53,7 @@ export default class ForwardService {
files.push(file);
if (event.message_type === 'group') {
buttons.push(Button.inline(`${sender}:`));
messageHeader = '';
}
};
for (const elem of event.message) {