김건우

Chore printStyle

Showing 1 changed file with 3 additions and 3 deletions
...@@ -274,13 +274,13 @@ client.on("message", msg => { ...@@ -274,13 +274,13 @@ client.on("message", msg => {
274 var t2 = moment(String(now.getFullYear()) + "-" + dDayWhen[0] + "-" + dDayWhen[1] , 'YYYY-MM-DD'); // 저장된 날짜 274 var t2 = moment(String(now.getFullYear()) + "-" + dDayWhen[0] + "-" + dDayWhen[1] , 'YYYY-MM-DD'); // 저장된 날짜
275 var dDayPrint = (Number(t2.diff(t1,'days')) + 2); 275 var dDayPrint = (Number(t2.diff(t1,'days')) + 2);
276 if (dDayPrint > 0) { 276 if (dDayPrint > 0) {
277 - msg.reply(el.replace('.txt','') + "까지 D - "+ dDayPrint); //dDay 답장 (날짜안지난경우) 277 + msg.channel.send(el.replace('.txt','') + "까지 D - "+ dDayPrint); //dDay 답장 (날짜안지난경우)
278 } 278 }
279 else if (dDayPrint < 0) { 279 else if (dDayPrint < 0) {
280 - msg.reply(el.replace('.txt','') + "까지 D + "+ (-dDayPrint)); //dDay 답장 (날짜지난경우) 280 + msg.channel.send(el.replace('.txt','') + "까지 D + "+ (-dDayPrint)); //dDay 답장 (날짜지난경우)
281 } 281 }
282 else { 282 else {
283 - msg.reply(el.replace('.txt','') + "까지 D - day"); //dDay 답장 (오늘인경우) 283 + msg.channel.send(el.replace('.txt','') + "까지 D - day"); //dDay 답장 (오늘인경우)
284 } 284 }
285 285
286 }); 286 });
......