🐞 fix: twitter_x少字

This commit is contained in:
zhiyu1998 2024-08-19 10:01:00 +08:00
parent c3fc5dbb2f
commit 91cff9f45f

View File

@ -2260,7 +2260,7 @@ export class tools extends plugin {
const stats = fs.statSync(path);
const videoSize = Math.floor(stats.size / (1024 * 1024));
if (videoSize > videoSizeLimit) {
e.reply(`当前视频大小:${ videoSize }MB\n大于设置的最大限制\n改为上传群文件`);
e.reply(`当前视频大小:${ videoSize }MB\n大于设置的最大限制${ videoSizeLimit }MB\n改为上传群文件`);
await this.uploadGroupFile(e, path);
} else {
e.reply(segment.video(path));