Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrepol742 committed Aug 7, 2023
1 parent e275137 commit ca3fbc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2928,7 +2928,7 @@ async function ai(api, event) {
threadIdMV[event.threadID] = false;
utils.logged("downloading " + search.results[0].title);
sendMessage(api, event, {
body: search.results[0].title + " is now in download progress...",
body: search.results[0].title.substring(0, 25) + "..." + " is now in upload progress please wait.",
});
let filename = __dirname + "/cache/video_" + utils.getTimestamp() + ".mp4";
let file = fs.createWriteStream(filename);
Expand Down Expand Up @@ -2981,7 +2981,7 @@ async function ai(api, event) {
threadIdMV[event.threadID] = false;
utils.logged("downloading " + search.results[0].title);
sendMessage(api, event, {
body: search.results[0].title + " is now in download progress...",
body: search.results[0].title.substring(0, 25) + "..." + " is now in upload progress please wait.",
});
let filename = __dirname + "/cache/video_" + utils.getTimestamp() + ".mp4";
let file = fs.createWriteStream(filename);
Expand Down

0 comments on commit ca3fbc0

Please sign in to comment.