Showing
1 changed file
with
5 additions
and
2 deletions
| ... | @@ -27,7 +27,11 @@ client.on("ready", () => { | ... | @@ -27,7 +27,11 @@ client.on("ready", () => { |
| 27 | console.log(`Logged in as ${client.user.tag}!`) | 27 | console.log(`Logged in as ${client.user.tag}!`) |
| 28 | client.user.setActivity('쿠옹이사용법! ➤ '+prefix+'도움말', { | 28 | client.user.setActivity('쿠옹이사용법! ➤ '+prefix+'도움말', { |
| 29 | type : 'PLAYING' | 29 | type : 'PLAYING' |
| 30 | - }) | 30 | + }); |
| 31 | + makeFolder('./data'); | ||
| 32 | + makeFolder('./data/dDay'); | ||
| 33 | + makeFolder('./data/studyTime'); | ||
| 34 | + makeFolder('./data/stopWatch'); | ||
| 31 | }); | 35 | }); |
| 32 | 36 | ||
| 33 | 37 | ||
| ... | @@ -36,7 +40,6 @@ client.on("message", msg => { | ... | @@ -36,7 +40,6 @@ client.on("message", msg => { |
| 36 | console.log(msg.author.id, msg.content); //채팅을 로그에 띄우기 | 40 | console.log(msg.author.id, msg.content); //채팅을 로그에 띄우기 |
| 37 | 41 | ||
| 38 | 42 | ||
| 39 | - | ||
| 40 | //prefix로 시작하지 않는경우 통과 를 위한 명령어 | 43 | //prefix로 시작하지 않는경우 통과 를 위한 명령어 |
| 41 | if (!msg.content.startsWith(prefix) || msg.author.bot) return; | 44 | if (!msg.content.startsWith(prefix) || msg.author.bot) return; |
| 42 | const args=msg.content.slice(prefix.length).split(" "); | 45 | const args=msg.content.slice(prefix.length).split(" "); | ... | ... |
-
Please register or login to post a comment