mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: twitter_x
少字
This commit is contained in:
parent
c3fc5dbb2f
commit
91cff9f45f
@ -2260,7 +2260,7 @@ export class tools extends plugin {
|
|||||||
const stats = fs.statSync(path);
|
const stats = fs.statSync(path);
|
||||||
const videoSize = Math.floor(stats.size / (1024 * 1024));
|
const videoSize = Math.floor(stats.size / (1024 * 1024));
|
||||||
if (videoSize > videoSizeLimit) {
|
if (videoSize > videoSizeLimit) {
|
||||||
e.reply(`当前视频大小:${ videoSize }MB,\n大于设置的最大限制,\n改为上传群文件`);
|
e.reply(`当前视频大小:${ videoSize }MB,\n大于设置的最大限制:${ videoSizeLimit }MB,\n改为上传群文件`);
|
||||||
await this.uploadGroupFile(e, path);
|
await this.uploadGroupFile(e, path);
|
||||||
} else {
|
} else {
|
||||||
e.reply(segment.video(path));
|
e.reply(segment.video(path));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user