블로그 발행 확인 용 디스코드 봇 통합#45
Merged
Merged
Conversation
a7b3882 to
f748a12
Compare
f748a12 to
30c9357
Compare
DaleSeo
commented
Jul 3, 2026
| } | ||
|
|
||
| async function handleChannelJoin(env: Env): Promise<void> { | ||
| async function handleLeetCodeSignUp(env: Env): Promise<void> { |
Member
Author
There was a problem hiding this comment.
핸들러가 하나만 있을 때는 이름이 별로 안 중요한데 두 개가 되어 좀 더 구분이 가능하도록 이름을 바꿨습니다.
Contributor
There was a problem hiding this comment.
넵 기존것은 너무 generic해서 바꾸는게 맞는것 같습니다!
Comment on lines
+54
to
+58
| if (event.cron === "0 0 * * MON") { | ||
| ctx.waitUntil(handleBlogPublishCheck(env, event.scheduledTime)); | ||
| } else { | ||
| ctx.waitUntil(handleLeetCodeSignUp(env)); | ||
| } |
|
수고하셨습니다! |
lms0806
approved these changes
Jul 4, 2026
| /** blog-study 원본 check_inactive_users 의 안내 문구. */ | ||
| function buildReport(warn: string[], late: string[]): string { | ||
| if (warn.length === 0 && late.length === 0) { | ||
| return `지난주 월요일 09:00부터 이번주 월요일 09:00까지 **${ROLE_LABEL}** 역할 대상자 모두 참여해서, 경고나 지각 대상자가 없습니다!`; |
There was a problem hiding this comment.
제가 코드에 지각까지 넣어서 올려놨었네요
지각 반영까지 하는 것도 좋을거 같습니다.
근데 스터디 방식에 경고만 있어, 해당 내용에 대하여 시작 전에 언급이 필요해보입니다.
스터디 시작하면 제가 스터디 채널에 말씀드리겠습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
현재 blog-study 저장소에 블로그 발행 확인 용 디스코드 봇이 있습니다. 그런데 저희 커뮤니티에서 사용하는 Cloudflare에서는 Rust 코드를 바로 배포할 수는 없어서 Wasm으로 변환을 해야합니다. 그런데 그러기에는 코드가 너무 적어서 그냥 간단하게 JS로 포팅하기로 민수님과 협의하였습니다. 그래서 가장 적합한 곳인 community-manager 저장소로 통합합니다.
Testing