Repository navigation
feat: 급식 기능 서버별 on/off 토글 추가 - #70
Merged
Merged
Conversation
- guild_settings에 meal_enabled 컬럼 추가, gamblingEnabled와 동일한 lazy 캐시 패턴 적용 - 관리자가 !밥 on / !밥 off 로 서버별 급식 기능을 켜고 끌 수 있음 - 비활성화 시 !밥/!아침/!점심/!저녁 등 급식 관련 메시지·슬래시 명령어 전부 차단 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
!밥 on/!밥 off로 서버별 급식 기능을 켜고 끌 수 있음 (!도박토글과 동일한 패턴)guild_settings.meal_enabled컬럼 추가, lazy 캐시(mealEnabledCache)로 조회 비용 최소화!밥/!ㅂ/!q/!급식/!ㄱㅅ/!ㄳ/!rt/!아침/!점심/!저녁/!내일아침/...등 급식 관련 메시지 명령어와/밥,/급식슬래시 명령어 전부 차단Test plan
npm run typecheck통과npm run lint통과!밥 off→!밥차단 확인,!밥 on→ 다시 정상 동작 확인, 비관리자가!밥 off시도 시 거부되는지 확인🤖 Generated with Claude Code