요즘 AI가 유행이죠? 저도 알아요요
This commit is contained in:
parent
8399ce4107
commit
0017a3eb16
6 changed files with 122 additions and 15 deletions
|
|
@ -1,28 +1,29 @@
|
|||
//import { Discord } from "./lib/discord";
|
||||
import { CreateImage } from "./lib/image";
|
||||
|
||||
const YYMMDD = new Date().toISOString().slice(0, 10).replace(/-/g, "").toString();
|
||||
console.log(YYMMDD);
|
||||
|
||||
//Discord("20250509")
|
||||
/*async function run() {
|
||||
async function run() {
|
||||
console.time("Post");
|
||||
await CreateImage.Post(YYMMDD);
|
||||
await CreateImage.PostMeal(YYMMDD);
|
||||
console.timeEnd("Post");
|
||||
|
||||
console.time("Story");
|
||||
await CreateImage.Story(YYMMDD);
|
||||
await CreateImage.ConvertToStory(`./temp/${YYMMDD}.png`);
|
||||
console.timeEnd("Story");
|
||||
}
|
||||
|
||||
run();
|
||||
*/
|
||||
|
||||
|
||||
//import { CreateImage } from "./lib/image";
|
||||
|
||||
//CreateImage.PostSchedule()
|
||||
|
||||
const tomorrow = new Date();
|
||||
tomorrow.setDate(tomorrow.getDate() + 1);
|
||||
//const tomorrow = new Date();
|
||||
//tomorrow.setDate(tomorrow.getDate() + 1);
|
||||
|
||||
// 내일이 1일이면
|
||||
console.log(tomorrow.getDate());
|
||||
//console.log(tomorrow.getDate());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue