Skip to content

fix: remove logs#164

Merged
gvieira18 merged 1 commit into3.xfrom
fix/log
Jan 23, 2026
Merged

fix: remove logs#164
gvieira18 merged 1 commit into3.xfrom
fix/log

Conversation

@Clintonrocha98
Copy link
Collaborator

@Clintonrocha98 Clintonrocha98 commented Jan 22, 2026

This pull request removes unnecessary logging statements from two event handler classes in the Discord bot module to reduce log verbosity and improve code clarity.

Logging cleanup:

  • Removed an info-level log statement that output the number of channel members in the handle method of DynamicVoiceEvent.
  • Removed a notice-level log statement that logged each user's message in the handle method of GreetingsEvent.

Summary by CodeRabbit

  • Chores
    • Optimized internal event logging for voice channel and greeting events.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 22, 2026

📝 Walkthrough

Walkthrough

This pull request removes logging statements from two event handlers: one tracking voice channel member counts in DynamicVoiceEvent and another logging message metadata in GreetingsEvent. No control flow or functional behavior changes are introduced.

Changes

Cohort / File(s) Summary
Log Statement Removals
app-modules/bot-discord/src/Events/DynamicVoiceEvent.php, app-modules/bot-discord/src/Events/GreetingsEvent.php
Removed runtime logging calls from two event handlers without altering control flow or subsequent logic execution

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • fix: voice state #149: Implements broader refactoring of DynamicVoiceEvent::handle to delegate voice-state handling, while this PR removes a log statement from the same method.

Suggested reviewers

  • gvieira18
  • 1pride

Poem

🐰 Logs, logs, logs we did remove,
Two pesky lines left no groove,
Clean events now, light and swift,
Like carrots through a quantum shift! 🥕✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: remove logs' directly matches the main change in the pull request, which removes unnecessary logging statements from two event handler classes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gvieira18 gvieira18 merged commit e358680 into 3.x Jan 23, 2026
6 checks passed
@gvieira18 gvieira18 deleted the fix/log branch January 23, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments