Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김건우
/
studyChatBot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김건우
2021-12-09 06:22:32 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bdb721017225002335b9af7ff3692bed4bc00d5c
bdb72101
1 parent
84ef786f
Fix currentTime in koreaTime
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
app.js
package.json
app.js
View file @
bdb7210
...
...
@@ -6,6 +6,9 @@ const fs = require('fs');
const
internal
=
require
(
"stream"
);
let
now
=
new
Date
();
const
moment
=
require
(
'moment'
)
require
(
'moment-timezone'
);
moment
.
tz
.
setDefault
(
"Asia/Seoul"
);
exports
.
moment
=
moment
;
const
Youtube
=
require
(
'simple-youtube-api'
);
const
youtube
=
new
Youtube
(
youtubeAPI
);
const
ytdl
=
require
(
'ytdl-core'
);
...
...
package.json
View file @
bdb7210
...
...
@@ -11,8 +11,9 @@
"ffmpeg-static"
:
"^4.4.0"
,
"fs"
:
"^0.0.1-security"
,
"moment"
:
"^2.29.1"
,
"
stream"
:
"^0.0.2
"
,
"
moment-timezone"
:
"^0.5.34
"
,
"simple-youtube-api"
:
"^5.2.1"
,
"stream"
:
"^0.0.2"
,
"ytdl-core"
:
"^4.9.1"
}
}
\ No newline at end of file
}
...
...
Please
register
or
login
to post a comment