Skip to content

Commit d5c2a98

Browse files
committed
update: StatsService messages format
1 parent ee9cfdb commit d5c2a98

File tree

1 file changed

+5
-5
lines changed
  • packages/velog-cron/src/services/StatsService

1 file changed

+5
-5
lines changed

packages/velog-cron/src/services/StatsService/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ export class StatsService implements Service {
3636

3737
await this.discord.sendMessage(
3838
'stats',
39-
`[Daily]\n기간: ${format(
39+
`[Daily]\n${format(
4040
start,
4141
'yyyy-MM-dd',
42-
)}\n${usersCount}명의 사용자가 가입했습니다.\n${postCount}개의 공개 포스트가 작성되었습니다.`,
42+
)} 동안\n${usersCount}명의 사용자가 가입했습니다.\n${postCount}개의 공개 포스트가 작성되었습니다.`,
4343
)
4444
}
4545
public async weekly() {
@@ -53,10 +53,10 @@ export class StatsService implements Service {
5353
const timeFormat = 'yyyy-MM-dd HH:mm:ss'
5454
await this.discord.sendMessage(
5555
'stats',
56-
`[Daily]\n기간: ${format(start, timeFormat)}-${format(
56+
`[Weekly]\n${format(start, timeFormat)}-${format(
5757
end,
58-
'HH:mm:ss',
59-
)}\n${usersCount}명의 사용자가 가입했습니다.\n${postCount}개의 공개 포스트가 작성되었습니다.`,
58+
timeFormat,
59+
)} 동안\n${usersCount}명의 사용자가 가입했습니다.\n${postCount}개의 공개 포스트가 작성되었습니다.`,
6060
)
6161
}
6262
public async monthly() {

0 commit comments

Comments
 (0)